[lld] 875e26d - Fix lld testcases I missed in D78413 (9b9454a)

Eli Friedman via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 20 12:49:35 PDT 2020


Author: Eli Friedman
Date: 2020-04-20T12:48:57-07:00
New Revision: 875e26d34323119e0ff354cdd1979db1d1b295df

URL: https://github.com/llvm/llvm-project/commit/875e26d34323119e0ff354cdd1979db1d1b295df
DIFF: https://github.com/llvm/llvm-project/commit/875e26d34323119e0ff354cdd1979db1d1b295df.diff

LOG: Fix lld testcases I missed in D78413 (9b9454a)

Added: 
    

Modified: 
    lld/test/ELF/Inputs/exclude-libs.ll
    lld/test/wasm/export.ll

Removed: 
    


################################################################################
diff  --git a/lld/test/ELF/Inputs/exclude-libs.ll b/lld/test/ELF/Inputs/exclude-libs.ll
index 8bd947085f31..9e6cc6ff72ae 100644
--- a/lld/test/ELF/Inputs/exclude-libs.ll
+++ b/lld/test/ELF/Inputs/exclude-libs.ll
@@ -1,3 +1,3 @@
- at fn2 = global void()* null;
-
 target triple = "x86_64-unknown-linux"
+
+ at fn2 = global void()* null;

diff  --git a/lld/test/wasm/export.ll b/lld/test/wasm/export.ll
index 06c5dfc8d786..18ff1c437e4d 100644
--- a/lld/test/wasm/export.ll
+++ b/lld/test/wasm/export.ll
@@ -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
 
- at llvm.used = appending global [1 x i8*] [i8* bitcast (i32 ()* @used_function to i8*)], section "llvm.metadata"
-
 target triple = "wasm32-unknown-unknown"
 
+ at 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:


        


More information about the llvm-commits mailing list