[CodeView][Test] Fix module build by removing unused header
authorSteven Wu <stevenwu@apple.com>
Fri, 9 Dec 2022 20:14:42 +0000 (12:14 -0800)
committerSteven Wu <stevenwu@apple.com>
Fri, 9 Dec 2022 20:14:57 +0000 (12:14 -0800)
Remove unnecessary header from CodeView unittest. The unused PDB header
include has a dependency on Object -> Bitcode -> intrinsics_gen, which
will fail the module build because the module needed to build the tests
rely on the intrinsics gen.

Reviewed By: aprantl

Differential Revision: https://reviews.llvm.org/D139724

llvm/unittests/DebugInfo/CodeView/RandomAccessVisitorTest.cpp

index cbf8d47c6471b2d180109e87b06b80adc59143d9..135e7f854ecefc2c0bbe6a4f4227b1d9abadc11a 100644 (file)
@@ -12,7 +12,6 @@
 #include "llvm/DebugInfo/CodeView/TypeRecord.h"
 #include "llvm/DebugInfo/CodeView/TypeRecordMapping.h"
 #include "llvm/DebugInfo/CodeView/TypeVisitorCallbacks.h"
-#include "llvm/DebugInfo/PDB/Native/RawTypes.h"
 #include "llvm/Support/Allocator.h"
 #include "llvm/Support/BinaryByteStream.h"
 #include "llvm/Support/BinaryItemStream.h"
@@ -23,7 +22,6 @@
 
 using namespace llvm;
 using namespace llvm::codeview;
-using namespace llvm::pdb;
 
 namespace llvm {
 namespace codeview {