1; RUN: llc -mtriple powerpc-ibm-aix-xcoff < %s | \ 2; RUN: FileCheck --check-prefix=ASM %s 3; RUN: llc -mtriple powerpc64-ibm-aix-xcoff < %s | \ 4; RUN: FileCheck --check-prefix=ASM %s 5 6; RUN: llc -mtriple powerpc-ibm-aix-xcoff -filetype=obj -o %t.o < %s 7; RUN: llvm-objdump --full-contents --section=.info %t.o | \ 8; RUN: FileCheck --check-prefix=OBJ %s 9; RUN: llc -mtriple powerpc64-ibm-aix-xcoff -filetype=obj -o %t.o < %s 10; RUN: llvm-objdump --full-contents --section=.info %t.o | \ 11; RUN: FileCheck --check-prefix=OBJ %s 12 13; Verify that llvm.commandline metadata is emitted to .info sections and that the 14; metadata is padded if necessary. 15 16; ASM: .info ".GCC.command.line", 0x0000003a, 17; ASM: .info , 0x40282329, 0x6f707420, 0x636c616e, 0x67202d63, 0x6f6d6d61, 0x6e64202d 18; ASM: .info , 0x6c696e65, 0x0a004028, 0x23296f70, 0x7420736f, 0x6d657468, 0x696e6720 19; ASM: .info , 0x656c7365, 0x20313233, 0x0a000000 20 21; OBJ: Contents of section .info: 22; OBJ: 0000 0000003a 40282329 6f707420 636c616e ...:@(#)opt clan 23; OBJ: 0010 67202d63 6f6d6d61 6e64202d 6c696e65 g -command -line 24; OBJ: 0020 0a004028 23296f70 7420736f 6d657468 ..@(#)opt someth 25; OBJ: 0030 696e6720 656c7365 20313233 0a000000 ing else 123.... 26 27!llvm.commandline = !{!0, !1} 28!0 = !{!"clang -command -line"} 29!1 = !{!"something else 123"} 30