You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
280 B
11 lines
280 B
7 months ago
|
// RUN: %clang_cc1 -triple=x86_64-unknown-linux-gnu -emit-llvm -debug-info-kind=limited %s -o - | FileCheck %s
|
||
|
|
||
|
extern void foo();
|
||
|
// CHECK: !DISubprogram(name: "foo"
|
||
|
// CHECK-SAME: flags: DIFlagArtificial
|
||
|
inline void __attribute__((artificial)) foo() {}
|
||
|
|
||
|
void baz() {
|
||
|
foo();
|
||
|
}
|