User Details
- User Since
- May 3 2020, 7:47 AM (187 w, 5 d)
Oct 18 2021
Are these still relevant to the code that was landed recently?
For this one, please wait @JDevlieghere's review.
Oct 3 2021
You will have to rebase to main.
Sep 27 2021
Sep 26 2021
Just one last thing and I think we are done!
Sep 17 2021
Hi Siger,
Sep 4 2021
Trying to run the tests in my system failed with the following:
Sep 3 2021
Aug 23 2021
LGTM
LGTM
Aug 17 2021
I think we are getting there, just some more details
Aug 16 2021
Missing test cases!
Either a script that test it all, individual unit tests or a combination of both.
Aug 2 2021
Jul 7 2021
Jul 4 2021
I tested locally and it seems fine!
Jun 29 2021
Clang format complained a bit, please fix those.
Jun 17 2021
Jan 25 2021
Jan 23 2021
@JDevlieghere Addressed all your comments.
Rebasing and unwrapping the SBStructuredData test case
Jan 21 2021
Typos
Addressing comments
Jan 20 2021
Jan 19 2021
Jan 18 2021
Removing spurious line
Addressing comment
Jan 9 2021
Jan 6 2021
Jan 4 2021
ping
ping
Dec 28 2020
Addressing comments
Dec 22 2020
Dec 21 2020
Dec 19 2020
Addressing comments
Dec 17 2020
Dec 7 2020
Dec 6 2020
Dec 2 2020
Dec 1 2020
Addressing comments
Nov 30 2020
Addressing comments
Nov 27 2020
Addressing review comments
Nov 24 2020
Remove unnecessary wrappers/checks
I thought that too, but internally it's a naked call to lua_newuserdata() which might throw in case of a memory error.
So, IIUC, this can only fail if we are running out of memory? If that's the case, then I would remove these checks, as (for better or worse) llvm is not robust against memory allocation errors, and they add a fair amount of cruft to the code.
Fair enough. Will remove those.
Since this seems to be a fact of life for LLVM, perhaps wrapping potential memory errors turns out to be just bloat. If that's the case, then the wrapping in PushSBClass is not needed and the abort() call that Lua does is honest.
Nov 23 2020
I'm not sure what you mean by that. Can you elaborate?
Redesign of the API
Nov 18 2020
Nov 17 2020
Adressing comments
Nov 16 2020
Clean up includes
Nov 15 2020
When writing this patch I noticed that there is no mechanism in-place to remove the Python/Lua function when the breakpoint is removed or when the callback function is replaced.
The class that sets the callback provides ClearCallback() but it never calls into the ScriptInterpreter to clean up.
Although the real world impact is not that big, it's crucial for a small memory footprint. Any thoughts on this?
Nov 8 2020
Nov 7 2020
Add test case, fix line column
Nov 5 2020
Add test case