From 46cb48c74ae4220bbb56b88ca2432a98ce8fe9c8 Mon Sep 17 00:00:00 2001 From: Reid Kleckner Date: Wed, 27 Jul 2016 16:03:57 +0000 Subject: 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 --- llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp') 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" -- cgit v1.2.3