Split TestCxxChar8_t into two parts: one that check reading variables without a process and another part with. This allows us to skip the former on Apple Silicon, where lack of support for chained fix-ups causes the test to fail.
Details
Diff Detail
Event Timeline
lldb/test/API/lang/cpp/char8_t/TestCxxChar8_t.py | ||
---|---|---|
22 | The name of this helper method is terribly confusing. I had to look at the source to realize it is meant to specify that it's the make_target helper function of run_to_breakpoint. Something for a subsequent patch. |
Seems fine to me to break this into running and not running cases, but you should use the right lldbutil method for the running case.
lldb/test/API/lang/cpp/char8_t/TestCxxChar8_t.py | ||
---|---|---|
40–43 | You don't need to do this in three steps, do you? Can't you just use lldbutil.run_to_source_breakpoint? That will catch errors in running & hitting the breakpoint which you don't check here. |
lldb/test/API/lang/cpp/char8_t/TestCxxChar8_t.py | ||
---|---|---|
40–43 | Yes, that would work here, but not for the test above. I'll update the patch. |
The name of this helper method is terribly confusing. I had to look at the source to realize it is meant to specify that it's the make_target helper function of run_to_breakpoint. Something for a subsequent patch.