[llvm] c43aa46 - [UnitTest] Attempt to fix link to DataLayoutTest_UEFI_Test

David Green via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 28 09:18:22 PDT 2023


Author: David Green
Date: 2023-09-28T17:18:16+01:00
New Revision: c43aa466b8980e620fd27404ca2ba60210b76111

URL: https://github.com/llvm/llvm-project/commit/c43aa466b8980e620fd27404ca2ba60210b76111
DIFF: https://github.com/llvm/llvm-project/commit/c43aa466b8980e620fd27404ca2ba60210b76111.diff

LOG: [UnitTest] Attempt to fix link to DataLayoutTest_UEFI_Test

This is failing in a few buildbots to link due to missing references to
undefined reference to llvm::Triple::Triple from DataLayoutTest_UEFI_Test.
Attempt to fix them by adding the TargetParser lib for IR unit tests.

Added: 
    

Modified: 
    llvm/unittests/IR/CMakeLists.txt

Removed: 
    


################################################################################
diff  --git a/llvm/unittests/IR/CMakeLists.txt b/llvm/unittests/IR/CMakeLists.txt
index 176faf2f5cfa9ac..f57039493f21fdc 100644
--- a/llvm/unittests/IR/CMakeLists.txt
+++ b/llvm/unittests/IR/CMakeLists.txt
@@ -4,6 +4,7 @@ set(LLVM_LINK_COMPONENTS
   Core
   Support
   Passes
+  TargetParser
   TransformUtils
   ScalarOpts
   )


        


More information about the llvm-commits mailing list