[PATCH] D118811: [ARM] Fix linking issue for ARM unittests

Son Tuan Vu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 2 09:43:30 PST 2022


tyb0807 created this revision.
Herald added subscribers: kristof.beyls, mgorny.
tyb0807 requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

This fixes `undefined reference to symbol
'_ZN4llvm10DataLayout5clearEv'` error reported in
https://reviews.llvm.org/D118009/


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D118811

Files:
  llvm/unittests/Target/ARM/CMakeLists.txt


Index: llvm/unittests/Target/ARM/CMakeLists.txt
===================================================================
--- llvm/unittests/Target/ARM/CMakeLists.txt
+++ llvm/unittests/Target/ARM/CMakeLists.txt
@@ -8,6 +8,7 @@
   ARMDesc
   ARMInfo
   CodeGen
+  Core
   GlobalISel
   MC
   MIRParser


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D118811.405316.patch
Type: text/x-patch
Size: 296 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220202/ab836899/attachment.bin>


More information about the llvm-commits mailing list