This is an archive of the discontinued LLVM Phabricator instance.

Fix a bug where `break com add -s py -o "some_python" BKPT_NAME` only added the command to the first breakpoint
ClosedPublic

Authored by jingham on May 31 2022, 3:51 PM.

Details

Summary

This was a "probably should have copy-pasted" error. A "!" was omitted in copying over the code that added the command for a python function to the code that did the same for a python one-liner. I also added a test for both adding python functions and one-liners.

Diff Detail

Event Timeline

jingham created this revision.May 31 2022, 3:51 PM
Herald added a project: Restricted Project. · View Herald TranscriptMay 31 2022, 3:51 PM
jingham requested review of this revision.May 31 2022, 3:51 PM
Herald added a project: Restricted Project. · View Herald TranscriptMay 31 2022, 3:51 PM
kastiglione accepted this revision.May 31 2022, 4:08 PM

thanks!

This revision is now accepted and ready to land.May 31 2022, 4:08 PM
JDevlieghere accepted this revision.May 31 2022, 4:48 PM