diff options
| author | 2020-10-14 08:34:44 -0400 | |
|---|---|---|
| committer | 2020-10-15 15:25:08 -0400 | |
| commit | 578ba0021f123f19de33615d08b6cf33b8bcd725 (patch) | |
| tree | c768d84e7083a79cf835dee5edcde3f90dd5c8ff /java/java_test.go | |
| parent | 36e4ad1f4dcb517a741680be1fdd1d14241f8ad5 (diff) | |
Add -fdebug-compilation-dir option
The main use of this flag is to be to make both the debug info
and the build command line be independent of the compilation dir.
See: https://reviews.llvm.org/D63387 & https://blog.llvm.org/2019/11/deterministic-builds-with-clang-and-lld.html
Removed -fdebug-prefix-map and PWD variable being set in the compile
command line - these were workarounds we originally did to ensure that
the compile output is independent of the working directory and are no
longer needed now that we have -fdebug-compilation-dir.
Test: Ran "m
out/target/product/crosshatch/obj/SHARED_LIBRARIES/libexif.vendor_intermediates/same_vndk_variants.timestamp"
which fails on an RBE hardened stack without this change and passes with
this change.
Bug: b/169266636
Change-Id: Ib0f271e55f6cf0c89a30e65d3a0b25fe3f3a8f48
Diffstat (limited to 'java/java_test.go')
0 files changed, 0 insertions, 0 deletions