summaryrefslogtreecommitdiffstats
path: root/lldb/lit/SymbolFile/NativePDB/source-list.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/lit/SymbolFile/NativePDB/source-list.cpp')
-rw-r--r--lldb/lit/SymbolFile/NativePDB/source-list.cpp27
1 files changed, 14 insertions, 13 deletions
diff --git a/lldb/lit/SymbolFile/NativePDB/source-list.cpp b/lldb/lit/SymbolFile/NativePDB/source-list.cpp
index b176d2b3db9..c5f320a33f0 100644
--- a/lldb/lit/SymbolFile/NativePDB/source-list.cpp
+++ b/lldb/lit/SymbolFile/NativePDB/source-list.cpp
@@ -1,4 +1,5 @@
// clang-format off
+// REQUIRES: lld
// Test that we can set display source of functions.
// RUN: clang-cl /Z7 /GS- /GR- /c /Fo%t.obj -- %s
@@ -26,17 +27,17 @@ int main(int argc, char **argv) {
// CHECK: (lldb) source list -n main
// CHECK: File: {{.*}}source-list.cpp
-// CHECK: 10
-// CHECK: 11 // Some context lines before
-// CHECK: 12 // the function.
-// CHECK: 13
+// CHECK: 11
+// CHECK: 12 // Some context lines before
+// CHECK: 13 // the function.
// CHECK: 14
-// CHECK: 15 int main(int argc, char **argv) {
-// CHECK: 16 // Here are some comments.
-// CHECK: 17 // That we should print when listing source.
-// CHECK: 18 return 0;
-// CHECK: 19 }
-// CHECK: 20
-// CHECK: 21 // Some context lines after
-// CHECK: 22 // the function.
-// CHECK: 23
+// CHECK: 15
+// CHECK: 16 int main(int argc, char **argv) {
+// CHECK: 17 // Here are some comments.
+// CHECK: 18 // That we should print when listing source.
+// CHECK: 19 return 0;
+// CHECK: 20 }
+// CHECK: 21
+// CHECK: 22 // Some context lines after
+// CHECK: 23 // the function.
+// CHECK: 24
OpenPOWER on IntegriCloud