diff options
author | Chaoren Lin <chaorenl@google.com> | 2015-09-17 18:38:55 +0000 |
---|---|---|
committer | Chaoren Lin <chaorenl@google.com> | 2015-09-17 18:38:55 +0000 |
commit | 1b2ba431e0a6cef2339bf82c145c95649bf9ff1b (patch) | |
tree | 36468dc573810b4926a5c3d4f7bf5a08a733eb32 | |
parent | 40889cd75a9a5b53154e6af86f8537be58957ca2 (diff) | |
download | bcm5719-llvm-1b2ba431e0a6cef2339bf82c145c95649bf9ff1b.tar.gz bcm5719-llvm-1b2ba431e0a6cef2339bf82c145c95649bf9ff1b.zip |
Fix TestMiSymbol for gcc-4.9 test.
llvm-svn: 247914
-rw-r--r-- | lldb/test/tools/lldb-mi/symbol/TestMiSymbol.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/test/tools/lldb-mi/symbol/TestMiSymbol.py b/lldb/test/tools/lldb-mi/symbol/TestMiSymbol.py index 227b836f841..6bfba63ca02 100644 --- a/lldb/test/tools/lldb-mi/symbol/TestMiSymbol.py +++ b/lldb/test/tools/lldb-mi/symbol/TestMiSymbol.py @@ -45,7 +45,7 @@ class MiSymbolTestCase(lldbmi_testcase.MiTestCaseBase): sline = line_number('symbol_list_lines_inline_test2.cpp', '// FUNC_gfunc2') eline = line_number('symbol_list_lines_inline_test2.cpp', '// END_gfunc2') self.runCmd("-symbol-list-lines symbol_list_lines_inline_test2.cpp") - self.expect("\^done,lines=\[\{pc=\"0x[0-9a-f]+\",line=\"%d\"\}(,\{pc=\"0x[0-9a-f]+\",line=\"3\d\"\})*,\{pc=\"0x[0-9a-f]+\",line=\"%d\"\}\]" % (sline, eline)) + self.expect("\^done,lines=\[\{pc=\"0x[0-9a-f]+\",line=\"%d\"\}(,\{pc=\"0x[0-9a-f]+\",line=\"3\d\"\})*,\{pc=\"0x[0-9a-f]+\",line=\"%d\"\}(,\{pc=\"0x[0-9a-f]+\",line=\"3\d\"\})*\]" % (sline, eline)) ##FIXME: This doesn't work for symbol_list_lines_inline_test.cpp due to clang bug llvm.org/pr24716 ##sline = line_number('symbol_list_lines_inline_test.cpp', '// FUNC_gfunc') ##eline = line_number('symbol_list_lines_inline_test.cpp', '// STRUCT_s') |