From: Steven Wu Date: Fri, 9 Dec 2022 20:14:42 +0000 (-0800) Subject: [CodeView][Test] Fix module build by removing unused header X-Git-Tag: upstream/17.0.6~24461 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=413995938d521032ba30c62dee738a2db7d1f1e8;p=platform%2Fupstream%2Fllvm.git [CodeView][Test] Fix module build by removing unused header 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 --- diff --git a/llvm/unittests/DebugInfo/CodeView/RandomAccessVisitorTest.cpp b/llvm/unittests/DebugInfo/CodeView/RandomAccessVisitorTest.cpp index cbf8d47c6471..135e7f854ece 100644 --- a/llvm/unittests/DebugInfo/CodeView/RandomAccessVisitorTest.cpp +++ b/llvm/unittests/DebugInfo/CodeView/RandomAccessVisitorTest.cpp @@ -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 {