diff options
author | Zachary Turner <zturner@google.com> | 2018-10-12 23:07:32 +0000 |
---|---|---|
committer | Zachary Turner <zturner@google.com> | 2018-10-12 23:07:32 +0000 |
commit | 71f484c967ad7b41c9cca6b8c3aef6cf340a8877 (patch) | |
tree | ce79ce1768dd2319340b9a5386cf45adaff8aada /lldb/lit/SymbolFile/NativePDB/source-list.cpp | |
parent | 49c9ba13041e3353a260d8537923c46b174aa376 (diff) | |
download | bcm5719-llvm-71f484c967ad7b41c9cca6b8c3aef6cf340a8877.tar.gz bcm5719-llvm-71f484c967ad7b41c9cca6b8c3aef6cf340a8877.zip |
Add REQUIRES: lld to SymbolFileNativePDB tests.
llvm-svn: 344431
Diffstat (limited to 'lldb/lit/SymbolFile/NativePDB/source-list.cpp')
-rw-r--r-- | lldb/lit/SymbolFile/NativePDB/source-list.cpp | 27 |
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 |