[llvm] [BOLT] Add pre-parsed perf script support (PR #163785)

Nico Weber via llvm-commits llvm-commits at lists.llvm.org
Sun Jun 7 12:31:13 PDT 2026


================
@@ -7,6 +7,12 @@ set(LLVM_LINK_COMPONENTS
 add_bolt_unittest(ProfileTests
   DataAggregator.cpp
   PerfSpeEvents.cpp
+  PerfScripts.cpp
+
+  # FIXME CoreTests uses `llvm::detail::TakeError(llvm::Error)`, but linking
+  #       to LLVMTestingSupport introduces a transitive dependency on the
+  #       dynamic LLVM library when LLVM_LINK_LLVM_DYLIB is ON.
+  ${LLVM_MAIN_SRC_DIR}/lib/Testing/Support/Error.cpp
----------------
nico wrote:

Come to think of it, what's the problem with the test depending on the LLVM library?

https://github.com/llvm/llvm-project/pull/163785


More information about the llvm-commits mailing list