[PATCH 2/3] Use BUILD_PATH_PREFIX_MAP envvar to transform __FILE__

2017-07-21 Thread Ximin Luo
Use the BUILD_PATH_PREFIX_MAP environment variable when expanding the __FILE__ macro, in the same way that debug-prefix-map works for debugging symbol paths. This patch follows similar lines to the earlier patch for SOURCE_DATE_EPOCH. Specifically, we read the environment variable not in libcpp bu

[PATCH 2/3] Use BUILD_PATH_PREFIX_MAP envvar to transform __FILE__

2017-04-11 Thread Ximin Luo
Use the BUILD_PATH_PREFIX_MAP environment variable when expanding the __FILE__ macro, in the same way that debug-prefix-map works for debugging symbol paths. This patch follows similar lines to the earlier patch for SOURCE_DATE_EPOCH. Specifically, we read the environment variable not in libcpp bu