DebugInfo: Remove unnecessary/mistaken inclusion of Bitcode/BitcodeAnalyzer.h
authorDavid Blaikie <dblaikie@gmail.com>
Mon, 14 Oct 2019 22:12:45 +0000 (22:12 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Mon, 14 Oct 2019 22:12:45 +0000 (22:12 +0000)
Introduced in r374582, Michael Spencer pointed out this broke the
modules build due to a missing tblgen dependency on
llvm/IR/Attributes.inc.

Michael fixed the dependency in r374827.

So this removes the inclusion and the new dependency (effectively
reverting r374827 and including the alternative fix of removing rather
than supporting the new dependency).

Thanks for the quick fix/notice, Michael!

llvm-svn: 374831

llvm/lib/DebugInfo/DWARF/CMakeLists.txt
llvm/lib/DebugInfo/DWARF/DWARFDebugLoc.cpp

index 6b53a5a..b4770e5 100644 (file)
@@ -30,7 +30,4 @@ add_llvm_library(LLVMDebugInfoDWARF
   ADDITIONAL_HEADER_DIRS
   ${LLVM_MAIN_INCLUDE_DIR}/llvm/DebugInfo/DWARF
   ${LLVM_MAIN_INCLUDE_DIR}/llvm/DebugInfo
-
-  DEPENDS
-  intrinsics_gen
   )
index f5235e2..4f7b011 100644 (file)
@@ -9,7 +9,6 @@
 #include "llvm/DebugInfo/DWARF/DWARFDebugLoc.h"
 #include "llvm/ADT/StringRef.h"
 #include "llvm/BinaryFormat/Dwarf.h"
-#include "llvm/Bitcode/BitcodeAnalyzer.h"
 #include "llvm/DebugInfo/DWARF/DWARFContext.h"
 #include "llvm/DebugInfo/DWARF/DWARFExpression.h"
 #include "llvm/DebugInfo/DWARF/DWARFRelocMap.h"