File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
lldb/test/API/functionalities/postmortem/elf-core Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -978,10 +978,10 @@ def test_get_core_file_api(self):
978978 self .dbg .DeleteTarget (target )
979979
980980 @skipIfLLVMTargetMissing ("X86" )
981- def test_ro_cstring (self ):
981+ def test_read_only_cstring (self ):
982982 """
983983 Test that we can show the summary for a cstring variable that points
984- to a r/o memory page which is not dumped to a core file.
984+ to a read-only memory page which is not dumped to a core file.
985985 """
986986 target = self .dbg .CreateTarget ("altmain2.out" )
987987 process = target .LoadCore ("altmain2.core" )
@@ -992,8 +992,9 @@ def test_ro_cstring(self):
992992
993993 var = frame .FindVariable ("F" )
994994
995- # The variable points to a RO segment that is not dumped to the core
996- # file and thus process.ReadCStringFromMemory() cannot get the value.
995+ # The variable points to a read-only segment that is not dumped to
996+ # the core file and thus 'process.ReadCStringFromMemory()' cannot get
997+ # the value.
997998 error = lldb .SBError ()
998999 cstr = process .ReadCStringFromMemory (var .GetValueAsUnsigned (), 256 , error )
9991000 self .assertFailure (error , error_str = "core file does not contain 0x804a000" )
You can’t perform that action at this time.
0 commit comments