[JITLink] Suppress "symbols not found" errors for testcase.
authorLang Hames <lhames@gmail.com>
Sun, 17 Apr 2022 15:34:22 +0000 (08:34 -0700)
committerLang Hames <lhames@gmail.com>
Sun, 17 Apr 2022 15:34:22 +0000 (08:34 -0700)
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.

llvm/test/ExecutionEngine/JITLink/X86/ELF_ehframe_large_static_personality_encodings.s

index 83e46f8..0253844 100644 (file)
@@ -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`.