-
-
Notifications
You must be signed in to change notification settings - Fork 213
Crash in lldb #282
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
For comparison, this is what gdb gives me (listing the lines normally): Click to expand
|
For reference, I'm also able to reproduce this crash (and verify that the WIP patch for it does fix it) in an entirely static setup (without needing to run any binary, just using lldb to look at binaries) in a cross setup: On unix, I've unpacked a nightly build + the debug data as explained in #281, and I've built lldb with https://reviews.llvm.org/D126367. I run |
PE/COFF can use either MSVC or GNU (MinGW) ABI for C++ code, however LLDB had defaulted to MSVC implicitly with no way to override it. This causes issues when debugging modules built with the GNU ABI, sometimes even crashes. This changes the PE/COFF plugin to set the module triple according to the default target triple used to build LLDB. If the default target triple is Windows and a valid environment is specified, then this environment will be used for the module spec. This not only works for MSVC and GNU, but also other environments. A new setting, `plugin.object-file.pe-coff.abi`, has been added to allow overriding this default ABI. * Fixes llvm/llvm-project#50775 * Fixes mstorsjo/llvm-mingw#226 * Fixes mstorsjo/llvm-mingw#282 Reviewed By: omjavaid Differential Revision: https://reviews.llvm.org/D127048
Sorry, I'm a bit too tired to come up with a proper subject line at this moment so bear with me...
This is an extension to #281. I can trigger a crash as below:
Click to expand
The text was updated successfully, but these errors were encountered: