diff options
author | Nirav Dave <niravd@google.com> | 2015-11-24 16:07:21 +0000 |
---|---|---|
committer | Nirav Dave <niravd@google.com> | 2015-11-24 16:07:21 +0000 |
commit | b0bb6142f5b837a15b4d2c8031d4074145989fe2 (patch) | |
tree | 66bf15c694b0a817105bfe5a20aa841a07800bea /llvm/lib/IR/Function.cpp | |
parent | 47c1baeb1f648ae779ad617e74eaa5ea5c7a37d3 (diff) | |
download | llvm-b0bb6142f5b837a15b4d2c8031d4074145989fe2.zip llvm-b0bb6142f5b837a15b4d2c8031d4074145989fe2.tar.gz llvm-b0bb6142f5b837a15b4d2c8031d4074145989fe2.tar.bz2 |
Fix rewrite of reserved library name in case of -nodefaultlibs
The Driver only checked if nostdlib was set when deciding to add
reserved_lib_stdcxx, but as nostdlib is always exactly nodefaultlibs and
nostartfiles we should be checking one (clearly nodefaultlibs in the
case) as well. This appears to be the only such instance of this in the
codebase.
Differential Revision: http://reviews.llvm.org/D14935
llvm-svn: 253990
Diffstat (limited to 'llvm/lib/IR/Function.cpp')
0 files changed, 0 insertions, 0 deletions