
Test updates were performed using: https://gist.github.com/nikic/98357b71fd67756b0f064c9517b62a34 These are only the test updates where the test passed without further modification (which is almost all of them, as the backend is largely pointer-type agnostic).
11 lines
617 B
LLVM
11 lines
617 B
LLVM
; RUN: llc -filetype=obj -mtriple=x86_64 %s -o %t
|
|
; RUN: llvm-readelf -S %t | FileCheck %s
|
|
|
|
; CHECK: .text PROGBITS 0000000000000000 [[#%x,OFF:]] 000000 00 AX 0
|
|
; CHECK-NEXT: .llvmbc PROGBITS 0000000000000000 [[#%x,OFF:]] 000004 00 0
|
|
; CHECK-NEXT: .llvmcmd PROGBITS 0000000000000000 [[#%x,OFF:]] 000005 00 0
|
|
|
|
@llvm.embedded.module = private constant [4 x i8] c"BC\C0\DE", section ".llvmbc", align 1
|
|
@llvm.cmdline = private constant [5 x i8] c"-cc1\00", section ".llvmcmd", align 1
|
|
@llvm.compiler.used = appending global [2 x ptr] [ptr @llvm.embedded.module, ptr @llvm.cmdline], section "llvm.metadata"
|