File tree Expand file tree Collapse file tree 2 files changed +1
-2
lines changed
llvm/test/tools/llvm-objcopy/MachO Expand file tree Collapse file tree 2 files changed +1
-2
lines changed Original file line number Diff line number Diff line change 77# RUN: llvm-objcopy %t.o --update-section __DATA,__storage=%p/Inputs/macho_sections.s %t.new.o
88# RUN: llvm-otool -l %t.new.o | FileCheck %s --check-prefix=UPDATED
99
10-
1110# ORIG: cmd LC_SEGMENT_64
1211# ORIG-NEXT: cmdsize 312
1312# ORIG-NEXT: segname
Original file line number Diff line number Diff line change 1616# RUN: not llvm-objcopy --update-section __TEXT,__text=%t.noexist %t /dev/null
1717
1818# RUN: not llvm-objcopy --update-section __NOEXIST,__text=%t.diff %t /dev/null 2>&1 | FileCheck %s --check-prefix=NO-SEGMENT
19- # NO-SEGMENT: error: {{.*}}could not find segment with name '__NOEXIST'
19+ # NO-SEGMENT: error: {{.*}}could not find section with name '__text' in ' __NOEXIST' segment
2020
2121# RUN: not llvm-objcopy --update-section __TEXT,__noexist=%t.diff %t /dev/null 2>&1 | FileCheck %s --check-prefix=NO-SECTION
2222# NO-SECTION: error: {{.*}}could not find section with name '__noexist'
You can’t perform that action at this time.
0 commit comments