File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -40,6 +40,7 @@ add_lld_library(lldMachO
40
40
BinaryFormat
41
41
BitReader
42
42
BitWriter
43
+ CGData
43
44
Core
44
45
DebugInfoDWARF
45
46
Demangle
Original file line number Diff line number Diff line change 5
5
6
6
# Synthesize raw cgdata without the header (24 byte) from the indexed cgdata.
7
7
# RUN: llvm-cgdata --convert --format binary %t/raw-1.cgtext -o %t/raw-1.cgdata
8
- # RUN: od -t x1 -j 24 -An %t/raw-1.cgdata | tr -d '\n\r\t' | sed 's/ \+ / /g; s/^ *//; s/ *$//; s/ /,0x/g; s/^/0x/' > %t/raw-1-bytes.txt
8
+ # RUN: od -t x1 -j 24 -An %t/raw-1.cgdata | tr -d '\n\r\t' | sed 's/[ ][ ]* / /g; s/^[ ] *//; s/[ ] *$//; s/[ ] /,0x/g; s/^/0x/' > %t/raw-1-bytes.txt
9
9
# RUN: sed "s/<RAW_BYTES>/$(cat %t/raw-1-bytes.txt)/g" %t/merge-template.s > %t/merge-1.s
10
10
# RUN: llvm-cgdata --convert --format binary %t/raw-2.cgtext -o %t/raw-2.cgdata
11
- # RUN: od -t x1 -j 24 -An %t/raw-2.cgdata | tr -d '\n\r\t' | sed 's/ \+ / /g; s/^ *//; s/ *$//; s/ /,0x/g; s/^/0x/' > %t/raw-2-bytes.txt
11
+ # RUN: od -t x1 -j 24 -An %t/raw-2.cgdata | tr -d '\n\r\t' | sed 's/[ ][ ]* / /g; s/^[ ] *//; s/[ ] *$//; s/[ ] /,0x/g; s/^/0x/' > %t/raw-2-bytes.txt
12
12
# RUN: sed "s/<RAW_BYTES>/$(cat %t/raw-2-bytes.txt)/g" %t/merge-template.s > %t/merge-2.s
13
13
14
14
# RUN: llvm-mc -filetype obj -triple arm64-apple-darwin %t/merge-1.s -o %t/merge-1.o
You can’t perform that action at this time.
0 commit comments