mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-05-15 18:36:27 +00:00

Otherwise, this causes issues when building with LTO for object files that use different values. Link: https://github.com/ClangBuiltLinux/linux/issues/1395 Reviewed By: dblaikie, MaskRay Differential Revision: https://reviews.llvm.org/D104342
5 lines
204 B
C
5 lines
204 B
C
// RUN: %clang_cc1 -fwarn-stack-size=42 -emit-llvm -o - %s | FileCheck %s
|
|
void foo(void) {}
|
|
// CHECK: define {{.*}} @foo() [[ATTR:#[0-9]+]] {
|
|
// CHECK: attributes [[ATTR]] = {{.*}} "warn-stack-size"="42"
|