blob: aa675759631c0faf2dd833e7525246bc0989039b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
# REQUIRES: x86
## Handling of quotes is tricky sometimes. Check we do that right and include
## "foo bar" section into .data as expected.
# RUN: echo '.section "foo bar", "aw"; nop' | llvm-mc -filetype=obj -triple=x86_64-pc-linux - -o %t
# RUN: ld.lld %t --script %s -o %t2 --print-map | FileCheck %s
# CHECK: .data
# CHECK-NEXT: {{.*}}(foo bar)
SECTIONS {
.data : { *("foo bar") }
}
|