[llvm] 4139959 - [CodeView][Test] Fix module build by removing unused header
Steven Wu via llvm-commits
llvm-commits at lists.llvm.org
Fri Dec 9 12:16:00 PST 2022
Author: Steven Wu
Date: 2022-12-09T12:14:57-08:00
New Revision: 413995938d521032ba30c62dee738a2db7d1f1e8
URL: https://github.com/llvm/llvm-project/commit/413995938d521032ba30c62dee738a2db7d1f1e8
DIFF: https://github.com/llvm/llvm-project/commit/413995938d521032ba30c62dee738a2db7d1f1e8.diff
LOG: [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
Added:
Modified:
llvm/unittests/DebugInfo/CodeView/RandomAccessVisitorTest.cpp
Removed:
################################################################################
diff --git a/llvm/unittests/DebugInfo/CodeView/RandomAccessVisitorTest.cpp b/llvm/unittests/DebugInfo/CodeView/RandomAccessVisitorTest.cpp
index cbf8d47c6471b..135e7f854ecef 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 {
More information about the llvm-commits
mailing list