bazel icon indicating copy to clipboard operation
bazel copied to clipboard

Test path mapping with ThinLTO

Open fmeum opened this issue 1 month ago • 6 comments

fmeum avatar Oct 28 '25 15:10 fmeum

i'm interested in testing this as well

keith avatar Nov 24 '25 22:11 keith

This PR needs a rules_cc release with https://github.com/bazelbuild/rules_cc/commit/53b92d1bc57a5af745ef8968fba505a2210cd227

fmeum avatar Dec 01 '25 07:12 fmeum

do both of those need to be on or just use_lto_native_object_directory?

keith avatar Dec 01 '25 18:12 keith

As far as I can tell LTO by itself doesn't, but this test compiles generated files and thus needs the special feature.

fmeum avatar Dec 02 '25 05:12 fmeum

one case i noticed the output paths were something like bazel-bin/path/to/binary.lto/bazel-out-k8-dbg-ST-whatever/path/to/artifact, i assume these aren't being stripped

keith avatar Dec 02 '25 18:12 keith

Yeah, not yet. My plan was for this test to reproduce just that and then fix it.

fmeum avatar Dec 02 '25 21:12 fmeum