1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 04:02:41 +01:00
llvm-mirror/test/FrontendC/2010-01-18-Inlined-Debug.c
Devang Patel 2cae5754c6 While mapping llvm.dbg.declare intrinsic manually map its operand, if possible,
because it points to an alloca instruction through metadata.

llvm-svn: 93757
2010-01-18 19:52:14 +00:00

13 lines
217 B
C

// PR: 6058
// RUN: %llvmgcc -g -S %s -o - | llc -O0 -o /dev/null
static inline int foo(double) __attribute__ ((always_inline));
static inline int foo(double __x) { return __x; }
void bar(double x) {
foo(x);
}