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!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@374831 91177308-0d34-0410-b5e6-96231b3b80d8

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

index 6b53a5a17251991e0fd2ac30f20fe2395d79333c..b4770e561f713efc504580d431e4ba2587b88e1c 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 f5235e28c928b0e2ebb9e1cca46a0ef787ad48ee..4f7b01130a4789cc86aa91a02dc32c07c91a6c9c 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"