Support fetching generated source files from S3 and Rust standard library sources in source server indexing
Categories
(Firefox Build System :: General, enhancement)
Tracking
(firefox57 wontfix, firefox105 fixed)
People
(Reporter: ted, Assigned: mstange)
References
Details
Attachments
(1 file)
Updated•8 years ago
|
Updated•8 years ago
|
| Reporter | ||
Comment 1•8 years ago
|
||
| Assignee | ||
Comment 2•4 years ago
|
||
Ted created a demo for how these different paths could be expressed in the srcsrv stream:
SRCSRV: ini ------------------------------------------------
VERSION=2
INDEXVERSION=2
VERCTRL=http
SRCSRV: variables ------------------------------------------
HGSERVER=https://hg.mozilla.org/mozilla-central
HG_REV=1706d4d54ec68fae1280305b70a02cb24c16ff68
SRCSRVVERCTRL=http
HG_EXTRACT_TARGET=%hgserver%/raw-file/%hg_rev%/%var3%
S3_TARGET=https://gecko-generated-sources.s3.amazonaws.com/%var3%
RUST_GITHUB_TARGET=https://github.com/rust-lang/rust/raw/625451e376bb2e5283fc4741caa0a3e8a2ca4d54/%var3%
SRCSRVTRG=%fnvar%(%var2%)
SRCSRV: source files ---------------------------------------
/builds/worker/checkouts/gecko/mozglue/baseprofiler/core/ProfilerBacktrace.cpp*HG_EXTRACT_TARGET*mozglue/baseprofiler/core/ProfilerBacktrace.cpp
/builds/worker/workspace/build/src/obj-firefox/dom/bindings/AddonManagerBinding.cpp*S3_TARGET*d89a77356015cf19cbe2488905a8e878d105c1d2b8beaf233409a976cce65a065b8319b87b7bb6e2a1dd4c5b7c0c594b9e2c171c47b6dbfe17ec0b08dc453730/dom/bindings/AddonManagerBinding.cpp
/rustc/625451e376bb2e5283fc4741caa0a3e8a2ca4d54/src/liballoc/boxed.rs*RUST_GITHUB_TARGET*src/liballoc/boxed.rs
SRCSRV: end ------------------------------------------------
| Assignee | ||
Comment 3•3 years ago
|
||
This will make the source code show up in Visual Studio when
debugging using the Mozilla symbol server.
In the past, only source files from hg.mozilla.org were displayed,
but no generated sources and no Rust standard library sources.
This change adds the required annotations for those two missing cases.
The generated sources will be pulled from S3.
The Rust standard library sources will be pulled from github.
Depends on D154299
Updated•3 years ago
|
| Assignee | ||
Comment 4•3 years ago
|
||
| Assignee | ||
Comment 5•3 years ago
|
||
target.zip from the Windows try build
This build should have full sources in the debugger, and full sources in a profile from etw-gecko.
| Assignee | ||
Comment 6•3 years ago
|
||
I ran into bug 1784324 while testing this on Try. I'll re-test once this is on mozilla-central.
| Assignee | ||
Comment 8•3 years ago
•
|
||
(In reply to Markus Stange [:mstange] from comment #5)
target.zip from the Windows try build
This build should have [..] full sources in a profile from etw-gecko.
etw-gecko profile: https://share.firefox.dev/3SICwPo
I think it would work, if it weren't for bug 1784324 and bug 1784340.
Comment 9•3 years ago
|
||
| bugherder | ||
Description
•