diff options
author | Reid Kleckner <rnk@google.com> | 2016-07-27 16:03:57 +0000 |
---|---|---|
committer | Reid Kleckner <rnk@google.com> | 2016-07-27 16:03:57 +0000 |
commit | 46cb48c74ae4220bbb56b88ca2432a98ce8fe9c8 (patch) | |
tree | f6e681a93b91deee779834de5ae64c84867b08eb /llvm/lib | |
parent | 7efafbc5830c7db1c29e92238d64a6de2de0ef25 (diff) | |
download | bcm5719-llvm-46cb48c74ae4220bbb56b88ca2432a98ce8fe9c8.tar.gz bcm5719-llvm-46cb48c74ae4220bbb56b88ca2432a98ce8fe9c8.zip |
Remove MCAsmInfo.h include from TargetOptions.h
TargetOptions wants the ExceptionHandling enum. Move that to
MCTargetOptions.h to avoid transitively including Dwarf.h everywhere in
clang. Now you can add a DWARF tag without a full rebuild of clang
semantic analysis.
llvm-svn: 276883
Diffstat (limited to 'llvm/lib')
-rw-r--r-- | llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp | 1 | ||||
-rw-r--r-- | llvm/lib/Target/AMDGPU/SILowerControlFlow.cpp | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp b/llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp index 10c76e793bd..e639d0e2b39 100644 --- a/llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp +++ b/llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp @@ -25,6 +25,7 @@ #include "llvm/DebugInfo/Msf/ByteStream.h" #include "llvm/DebugInfo/Msf/StreamReader.h" #include "llvm/IR/Constants.h" +#include "llvm/MC/MCAsmInfo.h" #include "llvm/MC/MCExpr.h" #include "llvm/MC/MCSectionCOFF.h" #include "llvm/MC/MCSymbol.h" diff --git a/llvm/lib/Target/AMDGPU/SILowerControlFlow.cpp b/llvm/lib/Target/AMDGPU/SILowerControlFlow.cpp index 1071cf88380..2fa229c242e 100644 --- a/llvm/lib/Target/AMDGPU/SILowerControlFlow.cpp +++ b/llvm/lib/Target/AMDGPU/SILowerControlFlow.cpp @@ -59,6 +59,7 @@ #include "llvm/CodeGen/MachineInstrBuilder.h" #include "llvm/CodeGen/MachineRegisterInfo.h" #include "llvm/IR/Constants.h" +#include "llvm/MC/MCAsmInfo.h" using namespace llvm; |