Repository navigation
Include Build IDs in VEX V5 executables - #166331
Conversation
|
These commits modify compiler targets. |
|
r? @adwinwhite rustbot has assigned @adwinwhite. Use Why was this reviewer chosen?The reviewer was selected based on:
|
|
r? me @bors r+ rollup |
…anna-kruppe Include Build IDs in VEX V5 executables This PR adds GNU build IDs to executables built for VEX V5, which will make it easier for tools to automatically identify the ELF files associated with programs running on VEX V5 devices. When programs are uploaded to a VEX V5 robot controller, they are converted to a simple binary format that doesn't contain any section, symbol, and debug information. That means a debugger attaching to a program (or another tool) cannot automatically discover a program's debug info using just the info on the device. This change will allow tools to more easily discover program debug and symbol info by adding a unique ID to executables that correlates the stripped binary stored on-device with the original ELF: the program running on-device could implement some way of reading the build id and sending it to a host tool, and the host tool could then use it for some purpose such as discovering debug info. cc @tropicaaal @Gavin-Niederman
…uwer Rollup of 13 pull requests Successful merges: - #166266 (miri subtree update) - #155216 (match: Use an aggregate equality comparison for constant array/slice patterns) - #166142 (Lower to `hir::Param`s for extern functions) - #163315 (s390x: replace -Ctarget-feature=+backchain with -Cforce-frame-pointers) - #165238 (make conflicting_repr_hints a hard error) - #165366 (Add lint against duplicate parameter names in fns without body) - #166269 (libcore: Revert some comment changes) - #166287 (Use `core::ptr` in `implicit_provenance_casts` help for `no_std` crates) - #166306 (bootstrap: Stop passing `-Ztrim-paths` to cargo now that it's stable in beta) - #166309 (Add `#[must_use]` to `Ip*Addr::as_octets` methods) - #166315 (rustc_diagnostic_item macros added on some iter functions) - #166331 (Include Build IDs in VEX V5 executables) - #166349 (compiletest: Remove some old special-case code paths)
Rollup merge of #166331 - vexide:lewisfm/vexos-build-id, r=hanna-kruppe Include Build IDs in VEX V5 executables This PR adds GNU build IDs to executables built for VEX V5, which will make it easier for tools to automatically identify the ELF files associated with programs running on VEX V5 devices. When programs are uploaded to a VEX V5 robot controller, they are converted to a simple binary format that doesn't contain any section, symbol, and debug information. That means a debugger attaching to a program (or another tool) cannot automatically discover a program's debug info using just the info on the device. This change will allow tools to more easily discover program debug and symbol info by adding a unique ID to executables that correlates the stripped binary stored on-device with the original ELF: the program running on-device could implement some way of reading the build id and sending it to a host tool, and the host tool could then use it for some purpose such as discovering debug info. cc @tropicaaal @Gavin-Niederman
…uwer Rollup of 13 pull requests Successful merges: - rust-lang/rust#166266 (miri subtree update) - rust-lang/rust#155216 (match: Use an aggregate equality comparison for constant array/slice patterns) - rust-lang/rust#166142 (Lower to `hir::Param`s for extern functions) - rust-lang/rust#163315 (s390x: replace -Ctarget-feature=+backchain with -Cforce-frame-pointers) - rust-lang/rust#165238 (make conflicting_repr_hints a hard error) - rust-lang/rust#165366 (Add lint against duplicate parameter names in fns without body) - rust-lang/rust#166269 (libcore: Revert some comment changes) - rust-lang/rust#166287 (Use `core::ptr` in `implicit_provenance_casts` help for `no_std` crates) - rust-lang/rust#166306 (bootstrap: Stop passing `-Ztrim-paths` to cargo now that it's stable in beta) - rust-lang/rust#166309 (Add `#[must_use]` to `Ip*Addr::as_octets` methods) - rust-lang/rust#166315 (rustc_diagnostic_item macros added on some iter functions) - rust-lang/rust#166331 (Include Build IDs in VEX V5 executables) - rust-lang/rust#166349 (compiletest: Remove some old special-case code paths)
|
Note This PR was benchmarked as part of triage of its containing rollup: triage URL. Finished benchmarking commit (f5b67d0): comparison URL. Overall result: ❌✅ regressions and improvements - please read:Our benchmarks found a performance regression caused by this PR. Next Steps:
@rustbot label: +perf-regression Instruction countOur most reliable metric. Used to determine the overall result above. However, even this metric can be noisy.
Max RSS (memory usage)This perf run didn't have relevant results for this metric. CyclesResults (secondary 3.6%)A less reliable metric. May be of interest, but not used to determine the overall result above.
Binary sizeThis perf run didn't have relevant results for this metric. Artifact size: 406.41 MiB -> 405.69 MiB (-0.18%) |
|
I think this is just noise, this PR only changed a config for a target that shouldn't even be getting tested in CI since it's tier 3. |
|
@rustbot label: +perf-regression-triaged |
…uwer Rollup of 13 pull requests Successful merges: - rust-lang/rust#166266 (miri subtree update) - rust-lang/rust#155216 (match: Use an aggregate equality comparison for constant array/slice patterns) - rust-lang/rust#166142 (Lower to `hir::Param`s for extern functions) - rust-lang/rust#163315 (s390x: replace -Ctarget-feature=+backchain with -Cforce-frame-pointers) - rust-lang/rust#165238 (make conflicting_repr_hints a hard error) - rust-lang/rust#165366 (Add lint against duplicate parameter names in fns without body) - rust-lang/rust#166269 (libcore: Revert some comment changes) - rust-lang/rust#166287 (Use `core::ptr` in `implicit_provenance_casts` help for `no_std` crates) - rust-lang/rust#166306 (bootstrap: Stop passing `-Ztrim-paths` to cargo now that it's stable in beta) - rust-lang/rust#166309 (Add `#[must_use]` to `Ip*Addr::as_octets` methods) - rust-lang/rust#166315 (rustc_diagnostic_item macros added on some iter functions) - rust-lang/rust#166331 (Include Build IDs in VEX V5 executables) - rust-lang/rust#166349 (compiletest: Remove some old special-case code paths)
…uwer Rollup of 13 pull requests Successful merges: - rust-lang/rust#166266 (miri subtree update) - rust-lang/rust#155216 (match: Use an aggregate equality comparison for constant array/slice patterns) - rust-lang/rust#166142 (Lower to `hir::Param`s for extern functions) - rust-lang/rust#163315 (s390x: replace -Ctarget-feature=+backchain with -Cforce-frame-pointers) - rust-lang/rust#165238 (make conflicting_repr_hints a hard error) - rust-lang/rust#165366 (Add lint against duplicate parameter names in fns without body) - rust-lang/rust#166269 (libcore: Revert some comment changes) - rust-lang/rust#166287 (Use `core::ptr` in `implicit_provenance_casts` help for `no_std` crates) - rust-lang/rust#166306 (bootstrap: Stop passing `-Ztrim-paths` to cargo now that it's stable in beta) - rust-lang/rust#166309 (Add `#[must_use]` to `Ip*Addr::as_octets` methods) - rust-lang/rust#166315 (rustc_diagnostic_item macros added on some iter functions) - rust-lang/rust#166331 (Include Build IDs in VEX V5 executables) - rust-lang/rust#166349 (compiletest: Remove some old special-case code paths)
This PR adds GNU build IDs to executables built for VEX V5, which will make it easier for tools to automatically identify the ELF files associated with programs running on VEX V5 devices.
When programs are uploaded to a VEX V5 robot controller, they are converted to a simple binary format that doesn't contain any section, symbol, and debug information. That means a debugger attaching to a program (or another tool) cannot automatically discover a program's debug info using just the info on the device.
This change will allow tools to more easily discover program debug and symbol info by adding a unique ID to executables that correlates the stripped binary stored on-device with the original ELF: the program running on-device could implement some way of reading the build id and sending it to a host tool, and the host tool could then use it for some purpose such as discovering debug info.
cc @tropicaaal @Gavin-Niederman