[PATCH] D152206: [Basic] Support 64-bit x86 target for UEFI
Prabhu Karthikeyan Rajasekaran via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Sep 28 07:09:58 PDT 2023
Prabhuk added inline comments.
================
Comment at: llvm/unittests/IR/DataLayoutTest.cpp:109
+TEST(DataLayoutTest, UEFI) {
+ Triple TT = Triple("x86_64-unknown-uefi");
+
----------------
mbrkusanin wrote:
> This is giving me a linker error:
>
> $ ninja unittests/IR/IRTests
> ....
> /usr/bin/ld: unittests/IR/CMakeFiles/IRTests.dir/DataLayoutTest.cpp.o: undefined reference to symbol '_ZN4llvm6TripleC1ERKNS_5TwineE'
> /usr/bin/ld: ....../build/lib/libLLVMTargetParser.so.18git: error adding symbols: DSO missing from command line
>
> Adding TargetParser to link componenets in llvm/unittests/IR/CMakeLists.txt seems to fix it for me, but can you check please?
Thanks for bringing this to my attention. I am able to build and run the IR tests from top of the tree without any failures. Let me take a closer look on how to reproduce this.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D152206/new/
https://reviews.llvm.org/D152206
More information about the llvm-commits
mailing list