[lld] 6fe193b - [test] Add -mtriple

Fangrui Song via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 22 19:07:10 PST 2021


Author: Fangrui Song
Date: 2021-01-22T19:07:02-08:00
New Revision: 6fe193bf271521c5dd1a50949e83b246a9820ce2

URL: https://github.com/llvm/llvm-project/commit/6fe193bf271521c5dd1a50949e83b246a9820ce2
DIFF: https://github.com/llvm/llvm-project/commit/6fe193bf271521c5dd1a50949e83b246a9820ce2.diff

LOG: [test] Add -mtriple

Added: 
    

Modified: 
    lld/test/ELF/exclude-libs-versym.s

Removed: 
    


################################################################################
diff  --git a/lld/test/ELF/exclude-libs-versym.s b/lld/test/ELF/exclude-libs-versym.s
index 1c0bd0af0d64..7cea6bfa111e 100644
--- a/lld/test/ELF/exclude-libs-versym.s
+++ b/lld/test/ELF/exclude-libs-versym.s
@@ -2,8 +2,8 @@
 ## --exclude-libs can hide version symbols.
 
 # RUN: rm -rf %t && split-file %s %t
-# RUN: llvm-mc -filetype=obj %t/a.s -o %t/a.o
-# RUN: llvm-mc -filetype=obj %t/b.s -o %t/b.o
+# RUN: llvm-mc -filetype=obj -triple=x86_64 %t/a.s -o %t/a.o
+# RUN: llvm-mc -filetype=obj -triple=x86_64 %t/b.s -o %t/b.o
 # RUN: llvm-ar rc %t/b.a %t/b.o
 # RUN: ld.lld -shared %t/a.o %t/b.a --version-script=%t/ver -o %t.so
 # RUN: llvm-readelf --dyn-syms %t.so | FileCheck %s


        


More information about the llvm-commits mailing list