- Notifications
You must be signed in to change notification settings - Fork14.1k
Implement-Z embed-source (DWARFv5 source code embedding extension)#126985
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
rustbot commentedJun 26, 2024
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
tgross35 commentedJun 26, 2024
This should also get a test in |
-C embed-source (DWARFv5 source code embedding extension)-Z embed-source (DWARFv5 source code embedding extension)Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
This comment has been minimized.
This comment has been minimized.
Uh oh!
There was an error while loading.Please reload this page.
Mrmaxmeier commentedJun 26, 2024 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
Edit: Looks like support was added somewhat recently in LLDB, but looking at the DWARF is probably still easier. I didn't find a (non-horrible) way to differentiate between embedded source code and code loaded from disk. ( |
tgross35 commentedJun 26, 2024
A run-make test would be great. |
This comment was marked as resolved.
This comment was marked as resolved.
Mrmaxmeier commentedJun 28, 2024
I've added a run-make test that depends on a new release of |
tgross35 commentedJun 28, 2024
You can probably ask for a minor release on your Gimli PR, then open a separate PR to bump the versions in this repo once it is released. |
run-make-support: update gimli to 0.31.0This version bump is required for the tests inrust-lang#126985 as suggested [here](rust-lang#126985 (comment)).r? tgross35(^ that didn't work. cc `@tgross35)`try-job: x86_64-msvctry-job: x86_64-mingwtry-job: aarch64-appletry-job: test-varioustry-job: armhf-gnutry-job: dist-x86_64-linux
…jieyouxurun-make-support: update gimli to 0.31.0This version bump is required for the tests inrust-lang#126985 as suggested [here](rust-lang#126985 (comment)).r? tgross35(^ that didn't work. cc `@tgross35)`try-job: x86_64-msvctry-job: x86_64-mingwtry-job: aarch64-appletry-job: test-varioustry-job: armhf-gnutry-job: dist-x86_64-linux
Rollup merge ofrust-lang#127805 - Mrmaxmeier:run-make-bump-gimli, r=jieyouxurun-make-support: update gimli to 0.31.0This version bump is required for the tests inrust-lang#126985 as suggested [here](rust-lang#126985 (comment)).r? tgross35(^ that didn't work. cc `@tgross35)`try-job: x86_64-msvctry-job: x86_64-mingwtry-job: aarch64-appletry-job: test-varioustry-job: armhf-gnutry-job: dist-x86_64-linux
This comment has been minimized.
This comment has been minimized.
Mrmaxmeier commentedJul 17, 2024
Status update: It turns out that LLVM 17 is not compatible with the way I'm emitting source code with each file. The proposed DWARF v6 spec was only implemented somewhat recently (llvm/llvm-project@87e22bd). There does not seem to be an easy way to gate Is |
…avidtwcoImplement `-Z embed-source` (DWARFv5 source code embedding extension)Implementrust-lang/compiler-team#764 MCP which adds an unstable flag that exposes LLVM's [DWARFv5 source code embedding](https://dwarfstd.org/issues/180201.1.html) support.
…iaskrgrRollup of 7 pull requestsSuccessful merges: -rust-lang#126985 (Implement `-Z embed-source` (DWARFv5 source code embedding extension)) -rust-lang#128935 (More work on `zstd` compression) -rust-lang#129263 (Add a missing compatibility note in the 1.80.0 release notes) -rust-lang#129386 (Use a LocalDefId in ResolvedArg.) -rust-lang#129408 (Fix handling of macro arguments within the `dropping_copy_types` lint) -rust-lang#129410 (Miri subtree update) -rust-lang#129416 (library: Move unstable API of new_uninit to new features)r? `@ghost``@rustbot` modify labels: rollup
…avidtwcoImplement `-Z embed-source` (DWARFv5 source code embedding extension)Implementrust-lang/compiler-team#764 MCP which adds an unstable flag that exposes LLVM's [DWARFv5 source code embedding](https://dwarfstd.org/issues/180201.1.html) support.
…avidtwcoImplement `-Z embed-source` (DWARFv5 source code embedding extension)Implementrust-lang/compiler-team#764 MCP which adds an unstable flag that exposes LLVM's [DWARFv5 source code embedding](https://dwarfstd.org/issues/180201.1.html) support.
…iaskrgrRollup of 7 pull requestsSuccessful merges: -rust-lang#126985 (Implement `-Z embed-source` (DWARFv5 source code embedding extension)) -rust-lang#128511 (Document WebAssembly target feature expectations) -rust-lang#128935 (More work on `zstd` compression) -rust-lang#129263 (Add a missing compatibility note in the 1.80.0 release notes) -rust-lang#129386 (Use a LocalDefId in ResolvedArg.) -rust-lang#129408 (Fix handling of macro arguments within the `dropping_copy_types` lint) -rust-lang#129417 (Don't trigger refinement lint if predicates reference errors)r? `@ghost``@rustbot` modify labels: rollup
…avidtwcoImplement `-Z embed-source` (DWARFv5 source code embedding extension)Implementrust-lang/compiler-team#764 MCP which adds an unstable flag that exposes LLVM's [DWARFv5 source code embedding](https://dwarfstd.org/issues/180201.1.html) support.
Rollup of 7 pull requestsSuccessful merges: -rust-lang#126985 (Implement `-Z embed-source` (DWARFv5 source code embedding extension)) -rust-lang#128349 (Enable `f16` tests on x86 and x86-64) -rust-lang#128511 (Document WebAssembly target feature expectations) -rust-lang#129263 (Add a missing compatibility note in the 1.80.0 release notes) -rust-lang#129276 (Stabilize feature `char_indices_offset`) -rust-lang#129350 (adapt integer comparison tests for LLVM 20 IR changes) -rust-lang#129408 (Fix handling of macro arguments within the `dropping_copy_types` lint)r? `@ghost``@rustbot` modify labels: rollup
…avidtwcoImplement `-Z embed-source` (DWARFv5 source code embedding extension)Implementrust-lang/compiler-team#764 MCP which adds an unstable flag that exposes LLVM's [DWARFv5 source code embedding](https://dwarfstd.org/issues/180201.1.html) support.
Rollup of 7 pull requestsSuccessful merges: -rust-lang#126985 (Implement `-Z embed-source` (DWARFv5 source code embedding extension)) -rust-lang#128507 (Migrate `libtest-thread-limit` `run-make` test to rmake) -rust-lang#128935 (More work on `zstd` compression) -rust-lang#129190 (Add f16 and f128 to tests/ui/consts/const-float-bits-conv.rs) -rust-lang#129295 (Build `library/profiler_builtins` from `ci-llvm` if appropriate) -rust-lang#129416 (library: Move unstable API of new_uninit to new features) -rust-lang#129418 (rustc: Simplify getting sysroot library directory)r? `@ghost``@rustbot` modify labels: rollup
…avidtwcoImplement `-Z embed-source` (DWARFv5 source code embedding extension)Implementrust-lang/compiler-team#764 MCP which adds an unstable flag that exposes LLVM's [DWARFv5 source code embedding](https://dwarfstd.org/issues/180201.1.html) support.
Rollup of 5 pull requestsSuccessful merges: -rust-lang#126985 (Implement `-Z embed-source` (DWARFv5 source code embedding extension)) -rust-lang#128935 (More work on `zstd` compression) -rust-lang#129190 (Add f16 and f128 to tests/ui/consts/const-float-bits-conv.rs) -rust-lang#129416 (library: Move unstable API of new_uninit to new features) -rust-lang#129418 (rustc: Simplify getting sysroot library directory)r? `@ghost``@rustbot` modify labels: rollup
…avidtwcoImplement `-Z embed-source` (DWARFv5 source code embedding extension)Implementrust-lang/compiler-team#764 MCP which adds an unstable flag that exposes LLVM's [DWARFv5 source code embedding](https://dwarfstd.org/issues/180201.1.html) support.
Rollup of 8 pull requestsSuccessful merges: -rust-lang#126985 (Implement `-Z embed-source` (DWARFv5 source code embedding extension)) -rust-lang#128935 (More work on `zstd` compression) -rust-lang#129134 (bootstrap: improve error recovery flags to curl) -rust-lang#129190 (Add f16 and f128 to tests/ui/consts/const-float-bits-conv.rs) -rust-lang#129416 (library: Move unstable API of new_uninit to new features) -rust-lang#129418 (rustc: Simplify getting sysroot library directory) -rust-lang#129459 (handle stage0 `cargo` and `rustc` separately) -rust-lang#129511 (Update minifier to 0.3.1)r? `@ghost``@rustbot` modify labels: rollup
…avidtwcoImplement `-Z embed-source` (DWARFv5 source code embedding extension)Implementrust-lang/compiler-team#764 MCP which adds an unstable flag that exposes LLVM's [DWARFv5 source code embedding](https://dwarfstd.org/issues/180201.1.html) support.
…kingjubileeRollup of 9 pull requestsSuccessful merges: -rust-lang#126985 (Implement `-Z embed-source` (DWARFv5 source code embedding extension)) -rust-lang#127922 (Add unsafe to extern blocks in style guide) -rust-lang#128731 (simd_shuffle intrinsic: allow argument to be passed as vector) -rust-lang#128935 (More work on `zstd` compression) -rust-lang#128942 (miri weak memory emulation: put previous value into initial store buffer) -rust-lang#129418 (rustc: Simplify getting sysroot library directory) -rust-lang#129490 (Add Trusty OS as tier 3 target) -rust-lang#129559 (float types: document NaN bit pattern guarantees) -rust-lang#129642 (Bump backtrace to rust-lang/backtrace@fc37b22)r? `@ghost``@rustbot` modify labels: rollup
Rollup of 9 pull requestsSuccessful merges: -rust-lang#126985 (Implement `-Z embed-source` (DWARFv5 source code embedding extension)) -rust-lang#127922 (Add unsafe to extern blocks in style guide) -rust-lang#128731 (simd_shuffle intrinsic: allow argument to be passed as vector) -rust-lang#128935 (More work on `zstd` compression) -rust-lang#128942 (miri weak memory emulation: put previous value into initial store buffer) -rust-lang#129418 (rustc: Simplify getting sysroot library directory) -rust-lang#129490 (Add Trusty OS as tier 3 target) -rust-lang#129536 (Add `f16` and `f128` inline ASM support for `aarch64`) -rust-lang#129559 (float types: document NaN bit pattern guarantees)r? `@ghost``@rustbot` modify labels: rollup
Rollup merge ofrust-lang#126985 - Mrmaxmeier:dwarf-embed-source, r=davidtwcoImplement `-Z embed-source` (DWARFv5 source code embedding extension)Implementrust-lang/compiler-team#764 MCP which adds an unstable flag that exposes LLVM's [DWARFv5 source code embedding](https://dwarfstd.org/issues/180201.1.html) support.
Uh oh!
There was an error while loading.Please reload this page.
Implementrust-lang/compiler-team#764 MCP which adds an unstable flag that exposes LLVM'sDWARFv5 source code embedding support.