diff options
author | Peter Collingbourne <peter@pcc.me.uk> | 2015-07-02 01:48:12 +0000 |
---|---|---|
committer | Peter Collingbourne <peter@pcc.me.uk> | 2015-07-02 01:48:12 +0000 |
commit | 581f438f4c8d100fe864ecf71c48a60699e9c095 (patch) | |
tree | 79e984de998ed6f732a525809ff1fe54833326a8 /clang/lib/CodeGen/CodeGenFunction.cpp | |
parent | d3b9917d854131e34a85c2af138085e078fde296 (diff) | |
download | llvm-581f438f4c8d100fe864ecf71c48a60699e9c095.zip llvm-581f438f4c8d100fe864ecf71c48a60699e9c095.tar.gz llvm-581f438f4c8d100fe864ecf71c48a60699e9c095.tar.bz2 |
Driver: add support for linking the UBSan runtime library on Windows.
On Windows the user may invoke the linker directly, so we might not have an
opportunity to add runtime library flags to the linker command line. Instead,
instruct the code generator to embed linker directive in the object file
that cause the required runtime libraries to be linked.
We might also want to do something similar for ASan, but it seems to have
its own special complexities which may make this infeasible.
Differential Revision: http://reviews.llvm.org/D10862
llvm-svn: 241225
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions