[all-commits] [llvm/llvm-project] d2bb6d: [X86] Add explicit library dependency on LLVMInstr...

Min-Yih Hsu via All-commits all-commits at lists.llvm.org
Tue Aug 24 14:09:25 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d2bb6d512c0f7da8749de51522a0a98f3f08242a
      https://github.com/llvm/llvm-project/commit/d2bb6d512c0f7da8749de51522a0a98f3f08242a
  Author: Min-Yih Hsu <minyihh at uci.edu>
  Date:   2021-08-24 (Tue, 24 Aug 2021)

  Changed paths:
    M llvm/lib/Target/X86/CMakeLists.txt

  Log Message:
  -----------
  [X86] Add explicit library dependency on LLVMInstrumentation

Patch 9588b685c6b2 introduced dependency on ASAN. But it didn't
explicitly put LLVMInstrumentation as one of the library dependencies
such that the build will fail if we're building LLVM as shared libraries
(i.e. -DBUILD_SHARED_LIBS=ON).
This patch explicitly links X86CodeGen against the Instrumentation
component.

Differential Revision: https://reviews.llvm.org/D108662




More information about the All-commits mailing list