forked from OSchip/llvm-project
Fix lld testcases I missed in D78413 (9b9454a
)
This commit is contained in:
parent
2d231c703d
commit
875e26d343
|
@ -1,3 +1,3 @@
|
|||
@fn2 = global void()* null;
|
||||
|
||||
target triple = "x86_64-unknown-linux"
|
||||
|
||||
@fn2 = global void()* null;
|
||||
|
|
|
@ -10,10 +10,10 @@
|
|||
; RUN: wasm-ld --export=hidden_function -o %t.wasm %t.o
|
||||
; RUN: obj2yaml %t.wasm | FileCheck %s --check-prefixes=CHECK,EMSCRIPTEN
|
||||
|
||||
@llvm.used = appending global [1 x i8*] [i8* bitcast (i32 ()* @used_function to i8*)], section "llvm.metadata"
|
||||
|
||||
target triple = "wasm32-unknown-unknown"
|
||||
|
||||
@llvm.used = appending global [1 x i8*] [i8* bitcast (i32 ()* @used_function to i8*)], section "llvm.metadata"
|
||||
|
||||
; Not exported by default, but forced via commandline
|
||||
define hidden i32 @hidden_function() local_unnamed_addr {
|
||||
entry:
|
||||
|
|
Loading…
Reference in New Issue