summaryrefslogtreecommitdiffstats
path: root/llvm/test/DebugInfo/Inputs/split-dwarf-addr-object-relocation.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/DebugInfo/Inputs/split-dwarf-addr-object-relocation.cpp')
-rw-r--r--llvm/test/DebugInfo/Inputs/split-dwarf-addr-object-relocation.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/llvm/test/DebugInfo/Inputs/split-dwarf-addr-object-relocation.cpp b/llvm/test/DebugInfo/Inputs/split-dwarf-addr-object-relocation.cpp
new file mode 100644
index 00000000000..e5255e847e8
--- /dev/null
+++ b/llvm/test/DebugInfo/Inputs/split-dwarf-addr-object-relocation.cpp
@@ -0,0 +1,10 @@
+void f1();
+__attribute__((always_inline)) void f2() {
+ f1();
+}
+void f3() {
+ f2();
+}
+
+// $ clang++ split-dwarf-addr-object-relocation.cpp -gsplit-dwarf -c Xclang \
+// -fdebug-compilation-dir -Xclang .
OpenPOWER on IntegriCloud