summaryrefslogtreecommitdiff
path: root/lib/Target/XCore/XCoreTargetObjectFile.cpp
diff options
context:
space:
mode:
authorNAKAMURA Takumi <geek4civic@gmail.com>2014-01-28 09:44:06 +0000
committerNAKAMURA Takumi <geek4civic@gmail.com>2014-01-28 09:44:06 +0000
commit3303370cd028ecb3c57820e2e994f3d3099c0607 (patch)
tree3b4b5ae443ee5efa80d443c971725dee5fc3ceae /lib/Target/XCore/XCoreTargetObjectFile.cpp
parent16268c0de7542009429f619fb5143937450d9c51 (diff)
downloadllvm-3303370cd028ecb3c57820e2e994f3d3099c0607.tar.gz
llvm-3303370cd028ecb3c57820e2e994f3d3099c0607.tar.bz2
llvm-3303370cd028ecb3c57820e2e994f3d3099c0607.tar.xz
[CMake] Enhance llvm_update_compile_flags(name sources) to handle LLVM_REQUIRES_EH and LLVM_REQUIRES_RTTI.
LLVM_REQUIRES_EH implies LLVM_REQUIRES_RTTI. It is as same behavior as Makefile.rule's. llvm/examples/ExceptionDemo is affected. (It was built with -fno-rtti.) For MSVC, Remove flags like "/EHsc /GR" in HandleLLVMOptions, or CL.EXE complains with flags like "/GR /GR-". llvm_update_compile_flags() updates source file property if the target contains *.c. COMPILE_FLAGS in target properties affects both C++ and C! LLVM_NO_RTTI is deprecated. It was introduced by me and was my mistake. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@200301 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/XCore/XCoreTargetObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions