aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Target/WebAssembly/WebAssemblySubtarget.cpp
diff options
context:
space:
mode:
authorSteven Wu <stevenwu@apple.com>2016-05-18 17:04:52 +0000
committerSteven Wu <stevenwu@apple.com>2016-05-18 17:04:52 +0000
commit1257cd8fd8f22d636b74b624586032b695f27c59 (patch)
treef06f730bb61dd611935e34f4b03880be4ec95b63 /llvm/lib/Target/WebAssembly/WebAssemblySubtarget.cpp
parent40b1277135f12ccc4388debff9becedd5e401198 (diff)
downloadllvm-1257cd8fd8f22d636b74b624586032b695f27c59.zip
llvm-1257cd8fd8f22d636b74b624586032b695f27c59.tar.gz
llvm-1257cd8fd8f22d636b74b624586032b695f27c59.tar.bz2
[Driver] Fix the case when use -fembed-bitcode and -flto= together
Summary: -fembed-bitcode was only checking for old style LTO flag (-flto) but not considering the new -flto= style option. That makes clang output bitcode embedded in bitcode object when using -flto= and -fembed-bitcode= together. Now clang should output normal bitcode file when using LTO and ignores -fembed-bitcode option. Reviewers: joker.eph Subscribers: joker.eph, cfe-commits Differential Revision: http://reviews.llvm.org/D20374 llvm-svn: 269961
Diffstat (limited to 'llvm/lib/Target/WebAssembly/WebAssemblySubtarget.cpp')
0 files changed, 0 insertions, 0 deletions