1# RUN: yaml2obj %s -o %t 2 3# RUN: not llvm-objcopy --rename-section=.foo=.bar --set-section-flags=.foo=alloc %t %t.2 2>&1 | FileCheck %s --check-prefix=SET-FOO 4# RUN: not llvm-objcopy --rename-section=.foo=.bar --set-section-flags=.bar=alloc %t %t.2 2>&1 | FileCheck %s --check-prefix=SET-BAR 5 6!ELF 7FileHeader: 8 Class: ELFCLASS64 9 Data: ELFDATA2LSB 10 Type: ET_REL 11 Machine: EM_X86_64 12 13# SET-FOO: --set-section-flags=.foo conflicts with --rename-section=.foo=.bar 14# SET-BAR: --set-section-flags=.bar conflicts with --rename-section=.foo=.bar 15