projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8b9e86f
)
[ELF][test] Add another -triple=x86_64 to linkorder-mixed.s
author
Fangrui Song
<i@maskray.me>
Thu, 6 Aug 2020 00:00:16 +0000
(17:00 -0700)
committer
Fangrui Song
<i@maskray.me>
Thu, 6 Aug 2020 00:00:37 +0000
(17:00 -0700)
Fixes an error on macOS:
error: mach-o section specifier uses an unknown section type
lld/test/ELF/linkorder-mixed.s
patch
|
blob
|
history
diff --git
a/lld/test/ELF/linkorder-mixed.s
b/lld/test/ELF/linkorder-mixed.s
index
6cba046
..
8298534
100644
(file)
--- a/
lld/test/ELF/linkorder-mixed.s
+++ b/
lld/test/ELF/linkorder-mixed.s
@@
-15,7
+15,7
@@
# CHECK-NEXT: [[#%x,ADDR:]] 01020003
## TODO Allow non-contiguous SHF_LINK_ORDER sections in an output section.
-# RUN: llvm-mc --filetype=obj --defsym EXTRA=1 %s -o %t.o
+# RUN: llvm-mc --filetype=obj -
triple=x86_64 -
-defsym EXTRA=1 %s -o %t.o
# RUN: not ld.lld %t.o -o /dev/null
.section .text,"ax",@progbits,unique,0