diff options
| author | Dimitry Andric <dim@FreeBSD.org> | 2015-12-30 11:49:41 +0000 |
|---|---|---|
| committer | Dimitry Andric <dim@FreeBSD.org> | 2015-12-30 11:49:41 +0000 |
| commit | 45b533945f0851ec234ca846e1af5ee1e4df0b6e (patch) | |
| tree | 0a5b74c0b9ca73aded34df95c91fcaf3815230d8 /test/Misc/thinlto.c | |
| parent | 7e86edd64bfae4e324224452e4ea879b3371a4bd (diff) | |
Notes
Diffstat (limited to 'test/Misc/thinlto.c')
| -rw-r--r-- | test/Misc/thinlto.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/Misc/thinlto.c b/test/Misc/thinlto.c new file mode 100644 index 000000000000..9134cbe5c5ee --- /dev/null +++ b/test/Misc/thinlto.c @@ -0,0 +1,9 @@ +// RUN: %clang_cc1 -flto=thin -emit-llvm-bc < %s | llvm-bcanalyzer -dump | FileCheck %s +// CHECK: <FUNCTION_SUMMARY_BLOCK +// CHECK-NEXT: <PERMODULE_ENTRY +// CHECK-NEXT: <PERMODULE_ENTRY +// CHECK-NEXT: </FUNCTION_SUMMARY_BLOCK + +__attribute__((noinline)) void foo() {} + +int main() { foo(); } |
