Chromium Code Reviews
Description[Mac/GN] Configure ASan for bundled targets.
DO NOT SUBMIT
When using ASAn, the libclang_rt.asan_osx_dynamic.dylib must be located at
load-time, but the library has an @executable_path-based install name. For
bundled targets, the library cannot be found because the executable is not in
the root out dir, where the library is located.
This adds a new -Wcrl,installname,old,new linker_driver.py command to allow
changing a dependent shared library name at link-time. This calls
`install_name_tool -change` after linking the target.
By using the new linker_driver.py flag, the library paths for bundled targets
can be fixed up to locate the ASan runtime after it has been copied as a
bundle_data.
BUG=630322
Patch Set 1 #
Messages
Total messages: 1 (1 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||