bolt/deps/llvm-18.1.8/lldb/test/Shell/SymbolFile/DWARF/x86/split-dwarf-inlining.cpp

9 lines
299 B
C++
Raw Normal View History

2025-02-14 19:21:04 +01:00
// RUN: %clangxx -target x86_64-pc-linux -gsplit-dwarf -g -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); }