xref: /aosp_15_r20/external/llvm/test/Object/X86/nm-bitcodeweak.test (revision 9880d6810fe72a1726cb53787c6711e909410d58)
1*9880d681SAndroid Build Coastguard Worker; RUN: llvm-as %s -o=%t1
2*9880d681SAndroid Build Coastguard Worker; RUN: llvm-nm %t1 | FileCheck %s
3*9880d681SAndroid Build Coastguard Worker
4*9880d681SAndroid Build Coastguard Worker; CHECK: W __libc_blah
5*9880d681SAndroid Build Coastguard Worker
6*9880d681SAndroid Build Coastguard Workertarget datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
7*9880d681SAndroid Build Coastguard Workertarget triple = "x86_64-unknown-freebsd11.0"
8*9880d681SAndroid Build Coastguard Worker
9*9880d681SAndroid Build Coastguard Workermodule asm ".weak __libc_blah"
10*9880d681SAndroid Build Coastguard Workermodule asm ".equ __libc_blah, blah"
11