xref: /aosp_15_r20/external/llvm/test/Assembler/bcwrap.ll (revision 9880d6810fe72a1726cb53787c6711e909410d58)
1*9880d681SAndroid Build Coastguard Worker; RUN: llvm-as < %s > %t
2*9880d681SAndroid Build Coastguard Worker; RUN: llvm-nm %t | FileCheck %s
3*9880d681SAndroid Build Coastguard Worker; RUN: verify-uselistorder %s
4*9880d681SAndroid Build Coastguard Worker; Test for isBitcodeFile, llvm-nm must read from a file for this test.
5*9880d681SAndroid Build Coastguard Workertarget datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:128:128"
6*9880d681SAndroid Build Coastguard Workertarget triple = "i686-apple-darwin9.2.2"
7*9880d681SAndroid Build Coastguard Worker
8*9880d681SAndroid Build Coastguard Worker; CHECK: foo
9*9880d681SAndroid Build Coastguard Worker
10*9880d681SAndroid Build Coastguard Workerdefine i32 @foo() {
11*9880d681SAndroid Build Coastguard Worker  ret i32 0
12*9880d681SAndroid Build Coastguard Worker}
13