Debian Codegraph @

llvm/test/tools/gold/X86/asm_undefined.ll

raw
1 ; RUN: llvm-as %s -o %t.o
2 ; RUN: %gold -shared -m elf_x86_64 -o %t2 -plugin %llvmshlibdir/LLVMgold%shlibext \
3 ; RUN: %t.o --plugin-opt=save-temps
4 ; RUN: llvm-nm %t2 | FileCheck %s --check-prefix=OUTPUT
5
6 ; OUTPUT: w patatino
7
8 target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
9 target triple = "x86_64-unknown-linux-gnu"
10
11 module asm ".weak patatino"
12
13 declare void @patatino()
14
15 define void @_start() {
16 call void @patatino()
17 ret void
18 }