Skip to content

Commit bfa3ffb

Browse files
committed
[FIX] Add missing component introduced in #115218
That causes link error: ``` ld.lld: error: undefined symbol: llvm::memprof::IndexedMemProfRecord::getGUID(llvm::StringRef) >>> referenced by MemProfUseTest.cpp >>> unittests/Transforms/Instrumentation/CMakeFiles/InstrumentationTests.dir/MemProfUseTest.cpp.o:((anonymous namespace)::MemProf_ExtractDirectCallsFromIR_Test::TestBody()) >>> referenced by MemProfUseTest.cpp >>> unittests/Transforms/Instrumentation/CMakeFiles/InstrumentationTests.dir/MemProfUseTest.cpp.o:((anonymous namespace)::MemProf_ExtractDirectCallsFromIR_Test::TestBody()) >>> referenced by MemProfUseTest.cpp >>> unittests/Transforms/Instrumentation/CMakeFiles/InstrumentationTests.dir/MemProfUseTest.cpp.o:((anonymous namespace)::MemProf_ExtractDirectCallsFromIR_Test::TestBody()) >>> referenced 1 more times ```
1 parent 50e73ae commit bfa3ffb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

llvm/unittests/Transforms/Instrumentation/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ set(LLVM_LINK_COMPONENTS
44
Core
55
Instrumentation
66
Passes
7+
ProfileData
78
Support
89
)
910

0 commit comments

Comments
 (0)