Skip to content

Commit 6dc4915

Browse files
committed
[llmv] manual fixups to Analysis unit test for Windows DLL build
1 parent ab107a5 commit 6dc4915

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

llvm/unittests/Analysis/MemoryProfileInfoTest.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
#include "llvm/IR/Module.h"
1515
#include "llvm/IR/ModuleSummaryIndex.h"
1616
#include "llvm/Support/CommandLine.h"
17+
#include "llvm/Support/Compiler.h"
1718
#include "llvm/Support/SourceMgr.h"
1819
#include "gmock/gmock.h"
1920
#include "gtest/gtest.h"
@@ -23,7 +24,7 @@
2324
using namespace llvm;
2425
using namespace llvm::memprof;
2526

26-
extern cl::opt<bool> MemProfKeepAllNotColdContexts;
27+
LLVM_ABI extern cl::opt<bool> MemProfKeepAllNotColdContexts;
2728

2829
namespace {
2930

0 commit comments

Comments
 (0)