[PATCH] D139724: [CodeView][Test] Fix module build by removing unused header
Steven Wu via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Dec 9 09:16:59 PST 2022
steven_wu created this revision.
steven_wu added reviewers: rnk, aprantl, JDevlieghere.
Herald added a subscriber: ributzka.
Herald added a project: All.
steven_wu requested review of this revision.
Herald added a project: LLVM.
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.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D139724
Files:
llvm/unittests/DebugInfo/CodeView/RandomAccessVisitorTest.cpp
Index: llvm/unittests/DebugInfo/CodeView/RandomAccessVisitorTest.cpp
===================================================================
--- llvm/unittests/DebugInfo/CodeView/RandomAccessVisitorTest.cpp
+++ 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 {
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D139724.481672.patch
Type: text/x-patch
Size: 771 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221209/e863267c/attachment.bin>
More information about the llvm-commits
mailing list