diff options
Diffstat (limited to 'lldb/test/Shell/SymbolFile/DWARF/split-dwarf-inlining.cpp')
-rw-r--r-- | lldb/test/Shell/SymbolFile/DWARF/split-dwarf-inlining.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lldb/test/Shell/SymbolFile/DWARF/split-dwarf-inlining.cpp b/lldb/test/Shell/SymbolFile/DWARF/split-dwarf-inlining.cpp new file mode 100644 index 00000000000..5873d896b19 --- /dev/null +++ b/lldb/test/Shell/SymbolFile/DWARF/split-dwarf-inlining.cpp @@ -0,0 +1,8 @@ +// RUN: %clangxx -target x86_64-pc-linux -gsplit-dwarf -fsplit-dwarf-inlining \ +// RUN: -c %s -o %t +// RUN: %lldb %t -o "breakpoint set -n foo" -b | FileCheck %s + +// CHECK: Breakpoint 1: 2 locations + +__attribute__((always_inline)) int foo(int x) { return x; } +int bar(int x) { return foo(x); } |