File tree Expand file tree Collapse file tree 4 files changed +9
-9
lines changed
source/Plugins/Language/CPlusPlus
test/API/functionalities/data-formatter/data-formatter-stl/libstdcpp Expand file tree Collapse file tree 4 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -1740,7 +1740,7 @@ lldb::TypeCategoryImplSP CPlusPlusLanguage::GetFormatters() {
17401740 // NOTE: the libstdcpp formatters are loaded after libcxx formatters
17411741 // because we don't want to the libcxx formatters to match the potential
17421742 // `__debug` inline namespace that libstdcpp may use. since LLDB
1743- // priorities the last loaded matching formatter.
1743+ // prioritizes the last loaded matching formatter.
17441744 LoadLibCxxFormatters (g_category);
17451745 LoadLibStdcppFormatters (g_category);
17461746 LoadSystemFormatters (g_category);
Original file line number Diff line number Diff line change @@ -19,13 +19,12 @@ def setUp(self):
1919 @add_test_categories (["libstdcxx" ])
2020 @expectedFailureAll (bugnumber = "llvm.org/pr50861" , compiler = "gcc" )
2121 def test_with_run_command (self ):
22- build_args = {"EXE" : "a.out" }
23- self .with_run_command ("" , build_args )
22+ self .with_run_command ("" , {})
2423
2524 @add_test_categories (["libstdcxx" ])
2625 @expectedFailureAll (bugnumber = "llvm.org/pr50861" , compiler = "gcc" )
2726 def test_with_run_command_debug (self ):
28- build_args = {"CXXFLAGS " : "-D_GLIBCXX_DEBUG" , "EXE" : "debug_a.out " }
27+ build_args = {"CXXFLAGS_EXTRAS " : "-D_GLIBCXX_DEBUG" }
2928 self .with_run_command ("__debug::" , build_args )
3029
3130 def with_run_command (self , namespace : str , dictionary : dict ):
@@ -64,7 +63,6 @@ def cleanup():
6463
6564 match = f"std::{ namespace } map<"
6665 self .runCmd (
67- 'type summary add -x "std::map<" --summary-string "map has ${svar%#} items" -e'
6866 f'type summary add -x "{ match } " --summary-string "map has ${{svar%#}} items" -e'
6967 )
7068
Original file line number Diff line number Diff line change @@ -16,20 +16,20 @@ def setUp(self):
1616 # Find the line number to break at.
1717 self .line = line_number ("main.cpp" , "// Set break point at this line." )
1818
19+ @skip
1920 @add_test_categories (["libstdcxx" ])
2021 def test_with_run_command (self ):
2122 self .with_run_command ({})
2223
2324 @add_test_categories (["libstdcxx" ])
2425 def test_with_run_command_debug (self ):
25- build_args = {"CXXFLAGS " : "-D_GLIBCXX_DEBUG" }
26+ build_args = {"CXXFLAGS_EXTRAS " : "-D_GLIBCXX_DEBUG" }
2627 self .with_run_command (build_args )
2728
2829 def with_run_command (self , dictionary : dict ):
2930 """Test that that file and class static variables display correctly."""
3031 self .build (dictionary = dictionary )
3132 artifact_name = dictionary .get ("EXE" , "a.out" )
32- self .runCmd ("file " + self .getBuildArtifact (artifact_name ), CURRENT_EXECUTABLE_SET )
3333 self .runCmd (
3434 "file " + self .getBuildArtifact (artifact_name ), CURRENT_EXECUTABLE_SET
3535 )
Original file line number Diff line number Diff line change @@ -24,14 +24,16 @@ def test_with_run_command(self):
2424 @add_test_categories (["libstdcxx" ])
2525 @expectedFailureAll (bugnumber = "llvm.org/pr50861" , compiler = "gcc" )
2626 def test_with_run_command_debug (self ):
27- build_args = {"CXXFLAGS " : "-D_GLIBCXX_DEBUG" }
27+ build_args = {"CXXFLAGS_EXTRAS " : "-D_GLIBCXX_DEBUG" }
2828 self .with_run_command (build_args )
2929
3030 def with_run_command (self , dictionary : dict ):
3131 """Test that that file and class static variables display correctly."""
3232 self .build (dictionary = dictionary )
3333 artifact_name = "a.out"
34- self .runCmd ("file " + self .getBuildArtifact (artifact_name ), CURRENT_EXECUTABLE_SET )
34+ self .runCmd (
35+ "file " + self .getBuildArtifact (artifact_name ), CURRENT_EXECUTABLE_SET
36+ )
3537
3638 lldbutil .run_break_set_by_source_regexp (self , "Set break point at this line." )
3739
You can’t perform that action at this time.
0 commit comments