[llvm] 6db0807 - [JITLink] Suppress "symbols not found" errors for testcase.
Lang Hames via llvm-commits
llvm-commits at lists.llvm.org
Sun Apr 17 08:39:12 PDT 2022
Author: Lang Hames
Date: 2022-04-17T08:34:22-07:00
New Revision: 6db0807c2cbe06ad0a5e4b82f8eb8b7815846926
URL: https://github.com/llvm/llvm-project/commit/6db0807c2cbe06ad0a5e4b82f8eb8b7815846926
DIFF: https://github.com/llvm/llvm-project/commit/6db0807c2cbe06ad0a5e4b82f8eb8b7815846926.diff
LOG: [JITLink] Suppress "symbols not found" errors for testcase.
On some platforms _ZTIi may not be present (see discussion at
https://reviews.llvm.org/rG43acef48d38e). We don't need this symbol for the
test to work, so just add -phony-externals to the testcase to suppress the
error.
Added:
Modified:
llvm/test/ExecutionEngine/JITLink/X86/ELF_ehframe_large_static_personality_encodings.s
Removed:
################################################################################
diff --git a/llvm/test/ExecutionEngine/JITLink/X86/ELF_ehframe_large_static_personality_encodings.s b/llvm/test/ExecutionEngine/JITLink/X86/ELF_ehframe_large_static_personality_encodings.s
index 83e46f8a12d42..02538442d9d9e 100644
--- a/llvm/test/ExecutionEngine/JITLink/X86/ELF_ehframe_large_static_personality_encodings.s
+++ b/llvm/test/ExecutionEngine/JITLink/X86/ELF_ehframe_large_static_personality_encodings.s
@@ -2,7 +2,8 @@
# UNSUPPORTED: system-windows
# RUN: llvm-mc -triple=x86_64-pc-linux-gnu -large-code-model \
# RUN: -filetype=obj -o %t %s
-# RUN: llvm-jitlink -debug-only=jitlink -noexec %t 2>&1 | FileCheck %s
+# RUN: llvm-jitlink -debug-only=jitlink -noexec -phony-externals %t 2>&1 | \
+# RUN: FileCheck %s
#
# Check handling of pointer encodings for personality functions when compiling
# with `-mcmodel=large -static`.
More information about the llvm-commits
mailing list