1 # RUN: yaml2obj %s -o %t
2 # RUN: llvm-objcopy --prefix-alloc-sections=.prefix %t %t2
3 # RUN: llvm-readobj --sections %t2 | FileCheck %s
5 ## Show that an empty string is permitted as the argument to
6 ## --prefix-alloc-sections.
7 # RUN: llvm-objcopy --prefix-alloc-sections= %t2 %t3
10 ## Show that only the last prefix is applied.
11 # RUN: llvm-objcopy --prefix-alloc-sections=.bar --prefix-alloc-sections=.prefix %t %t4
24 - Name: .prefix.already_prefixed
41 # CHECK: Name: .prefix.prefix.already_prefixed
42 # CHECK: Name: .prefix.text
43 # CHECK: Name: .rel.prefix.text
44 # CHECK: Name: .rela.prefix.data
45 # CHECK: Name: .prefix.data