From 1e328b06c15273edf4a40a27ca24931b5efb3a87 Mon Sep 17 00:00:00 2001 From: Jake Egan Date: Thu, 2 Dec 2021 16:39:52 -0500 Subject: [PATCH] [LTO] Specify triple to address unknown binary format assertion On AIX, this test generates an XCOFF file and hits "unknown binary format" assertion in llvm-nm. This patch specifies the triple to mitigate this issue. Reviewed By: steven_wu Differential Revision: https://reviews.llvm.org/D114683 --- llvm/test/LTO/X86/bcsection.ll | 2 ++ 1 file changed, 2 insertions(+) diff --git a/llvm/test/LTO/X86/bcsection.ll b/llvm/test/LTO/X86/bcsection.ll index d403c2c..32216ee 100644 --- a/llvm/test/LTO/X86/bcsection.ll +++ b/llvm/test/LTO/X86/bcsection.ll @@ -18,6 +18,8 @@ ; REQUIRES: default_triple +target triple = "x86_64-unknown-linux-gnu" + ; CHECK: main define i32 @main() { ret i32 0 -- 2.7.4