platform_build_soong/cc/config
Dan Willemsen 253cab89ee Fix absolute paths in clang debug output
As of the latest clang python wrapper, clang is being executed with an
absolute path. That means that clang-provided headers are written with
absolute paths in the debug info, making the builds non-reproducible
(especially with ccache).

So keep our current PWD=/proc/self/pwd -fdebug-prefix-map=/proc/self/cwd=,
but add a new -fdebug-prefix-map=$PWD/= to rewrite these absolute paths.

Bug: 36463318
Test: m -j libc adb; grep for path names
Test: spot check objdump -W before/after, see only expected diffs.
Change-Id: Ic2cdfca051d3c38b753fd5c1fcbeaca8bafc29ae
2017-03-27 16:58:43 -07:00
..
arm64_device.go Dynamically generate arch struct 2016-09-08 13:50:36 -07:00
arm_device.go Dynamically generate arch struct 2016-09-08 13:50:36 -07:00
clang.go Fix absolute paths in clang debug output 2017-03-27 16:58:43 -07:00
global.go Revert "install *.so in different paths for their types" 2017-03-16 19:48:32 -07:00
mips64_device.go Dynamically generate arch struct 2016-09-08 13:50:36 -07:00
mips_device.go Dynamically generate arch struct 2016-09-08 13:50:36 -07:00
tidy.go Allow overriding tidy configs using environment variables 2016-11-02 15:47:20 -07:00
tidy_test.go Add clang-tidy support 2016-10-31 16:21:01 -07:00
toolchain.go Always use the standard OSX SDK tools 2017-03-13 12:40:30 -07:00
x86_64_device.go Support .asm files for assembly 2016-12-02 21:12:30 -08:00
x86_darwin_host.go Always use the standard OSX SDK tools 2017-03-13 12:40:30 -07:00
x86_device.go Support .asm files for assembly 2016-12-02 21:12:30 -08:00
x86_linux_bionic_host.go Add LinuxBionic toolchain and switch 2017-03-15 14:18:42 -07:00
x86_linux_host.go Add Toolchain.Bionic() 2016-11-17 01:50:43 -08:00
x86_windows_host.go Enable large-address-aware for 32-bit windows 2017-03-14 13:37:26 -07:00