
This PR emits implements the ability to emit the PPC version for both assembly and object files on AIX.
12 lines
482 B
LLVM
12 lines
482 B
LLVM
; RUN: llc -verify-machineinstrs -mtriple powerpc-ibm-aix-xcoff -filetype=obj -o %t.o < %s
|
|
; RUN: llvm-readobj --symbols %t.o | FileCheck --check-prefixes=OBJ %s
|
|
; RUN: llc -verify-machineinstrs -mtriple powerpc64-ibm-aix-xcoff -filetype=obj -o %t64.o < %s
|
|
; RUN: llvm-readobj --symbols %t64.o | FileCheck --check-prefixes=OBJ %s
|
|
|
|
source_filename = "1.cpp"
|
|
|
|
; OBJ: Name: .file
|
|
; OBJ: Source Language ID: TB_CPLUSPLUS (0x9)
|
|
; OBJ: CPU Version ID: TCPU_PWR7 (0x18)
|
|
; OBJ: Name: 1.cpp
|