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 7
7
# RUN: llvm-objcopy %t.o --update-section __DATA,__storage=%p/Inputs/macho_sections.s %t.new.o
8
8
# RUN: llvm-otool -l %t.new.o | FileCheck %s --check-prefix=UPDATED
9
9
10
-
11
10
# ORIG: cmd LC_SEGMENT_64
12
11
# ORIG-NEXT: cmdsize 312
13
12
# ORIG-NEXT: segname
Original file line number Diff line number Diff line change 16
16
# RUN: not llvm-objcopy --update-section __TEXT,__text=%t.noexist %t /dev/null
17
17
18
18
# 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
20
20
21
21
# RUN: not llvm-objcopy --update-section __TEXT,__noexist=%t.diff %t /dev/null 2>&1 | FileCheck %s --check-prefix=NO-SECTION
22
22
# NO-SECTION: error: {{.*}}could not find section with name '__noexist'
You can’t perform that action at this time.
0 commit comments