Preparation for #178005. This will allow stack usage files to be requested during the linking step in LTO builds, in a more straightforward way than via TargetOptions.
13 lines
222 B
LLVM
13 lines
222 B
LLVM
; RUN: llc < %s -mtriple=x86_64 -stack-usage-file=%t.su
|
|
; RUN: FileCheck --input-file=%t.su %s
|
|
|
|
declare void @g(ptr)
|
|
|
|
define void @f() {
|
|
%a = alloca [64 x i8]
|
|
call void @g(ptr %a)
|
|
ret void
|
|
}
|
|
|
|
; CHECK: f [[#]] static
|