Fix lld testcases I missed in D78413 (9b9454a)

This commit is contained in:
Eli Friedman 2020-04-20 12:48:04 -07:00
parent 2d231c703d
commit 875e26d343
2 changed files with 4 additions and 4 deletions

View File

@ -1,3 +1,3 @@
@fn2 = global void()* null;
target triple = "x86_64-unknown-linux"
@fn2 = global void()* null;

View File

@ -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: