Files
llvm-project/llvm/test/CodeGen/X86/stack-usage-file.ll
Marina Taylor 7994daccd9 [AsmPrinter] Add a command-line option to emit stack usage files (#178908)
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.
2026-01-30 18:10:08 +00:00

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