summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
diff options
context:
space:
mode:
authorReid Kleckner <rnk@google.com>2016-07-27 16:03:57 +0000
committerReid Kleckner <rnk@google.com>2016-07-27 16:03:57 +0000
commit46cb48c74ae4220bbb56b88ca2432a98ce8fe9c8 (patch)
treef6e681a93b91deee779834de5ae64c84867b08eb /llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
parent7efafbc5830c7db1c29e92238d64a6de2de0ef25 (diff)
downloadbcm5719-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/CodeGen/AsmPrinter/CodeViewDebug.cpp')
-rw-r--r--llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp1
1 files changed, 1 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"
OpenPOWER on IntegriCloud