aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
diff options
context:
space:
mode:
authorAlexey Samsonov <samsonov@google.com>2014-03-04 08:32:43 +0000
committerAlexey Samsonov <samsonov@google.com>2014-03-04 08:32:43 +0000
commita79696d9bf2557c2a18204b24812e3367cc9fc0e (patch)
treefdc1315df6551cd41acc0edf190f6c23934a1145 /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
parent72f17afd483f6d8c9e451e96d7f46fe43f74ecb3 (diff)
downloadllvm-a79696d9bf2557c2a18204b24812e3367cc9fc0e.zip
llvm-a79696d9bf2557c2a18204b24812e3367cc9fc0e.tar.gz
llvm-a79696d9bf2557c2a18204b24812e3367cc9fc0e.tar.bz2
[CMake] Port add_sanitizer_rt_symbols to CMake 3.0
Patch by Brad King. Our add_sanitizer_rt_symbols macro reads the LOCATION property of a library to compute the location of the "lib<name>.a.syms" file to generate next to the corresponding "lib<name>.a" library file. CMake 3.0 introduces policy CMP0026 to disallow reading of the LOCATION target property from non-imported targets in favor of the more powerful $<TARGET_FILE> generator expression. Teach add_sanitizer_rt_symbols to use the $<TARGET_FILE> generator expression to compute the location of the symbols file to generate with a custom command. CMake 3.0 also adds support for generator expressions to install(FILES) so use it when available to simplify installation of the symbols file of the proper configuration. llvm-svn: 202797
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp')
0 files changed, 0 insertions, 0 deletions