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
4040 BinaryFormat
4141 BitReader
4242 BitWriter
43+ CGData
4344 Core
4445 DebugInfoDWARF
4546 Demangle
Original file line number Diff line number Diff line change 55
66# Synthesize raw cgdata without the header (24 byte) from the indexed cgdata.
77# 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
99# RUN: sed "s/<RAW_BYTES>/$(cat %t/raw-1-bytes.txt)/g" %t/merge-template.s > %t/merge-1.s
1010# 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
1212# RUN: sed "s/<RAW_BYTES>/$(cat %t/raw-2-bytes.txt)/g" %t/merge-template.s > %t/merge-2.s
1313
1414# 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