File tree Expand file tree Collapse file tree 1 file changed +4
-15
lines changed
lldb/test/API/functionalities/rich-disassembler Expand file tree Collapse file tree 1 file changed +4
-15
lines changed Original file line number Diff line number Diff line change @@ -6,10 +6,9 @@ def test_d_original_example_O1(self):
6
6
"""
7
7
Tests disassembler output for d_original_example.c built with -O1.
8
8
"""
9
- self .build (dictionary = {
10
- 'C_SOURCES' : 'd_original_example.c' ,
11
- 'CFLAGS_EXTRAS' : '-g -O1'
12
- })
9
+ self .build (
10
+ dictionary = {'C_SOURCES' : 'd_original_example.c' , 'CFLAGS_EXTRAS' : '-g -O1' }
11
+ )
13
12
exe = self .getBuildArtifact ("a.out" )
14
13
target = self .dbg .CreateTarget (exe )
15
14
self .assertTrue (target )
@@ -30,14 +29,4 @@ def test_d_original_example_O1(self):
30
29
self .assertIn ("i = " , disasm )
31
30
# self.assertIn("DW_OP_reg", disasm)
32
31
# self.assertIn("DW_OP_stack_value", disasm)
33
- self .assertNotIn ("<decoding error>" , disasm )
34
-
35
-
36
-
37
-
38
-
39
-
40
-
41
-
42
-
43
-
32
+ self .assertNotIn ("<decoding error>" , disasm )
You can’t perform that action at this time.
0 commit comments