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
"File contains no DWARF information..." on Mac #36
Comments
Can you please attach a copy of test.out? In a ZIP archive, to keep Github happy. |
Of course - attached to the original message |
May I see the dSYM bundle, too? I was afraid something was wrong with my Mach-O parsing, but test.out parses. It just doesn't have the debug info. |
Here it is: If you have any suggestion as to
|
That dSYM bundle fails to open in DWARF Explorer because of the naming convention I was assuming for Mac build tools - that the executable has no extension (or, equivalently, no dot characters in name), the bundle is called "appname.app.dSYM", and the debug symbols are inside an executable-formatted file called Notably, if you look inside that bundle and open It's hard to tell, when it comes to build tools, what is standard that one must adhere to, and what is mere tool convention. No one prevents your compiler from emitting files with an extension. I can fix DWARF Explorer to take files such as yours - even though it might drag in some false positives. EDIT: done that. That said, as far as I know, the |
Is this still an issue? Have you tried it with your homegrown compiler? |
He @sevaa! I've upgraded to 2.31 and it seems like lots of things are fixed - both with Clang-produced binary, and with Scala Native one 🎉 Thanks a lot, what an excellent tool! |
First of all, let me tell you I'm very excited to try this tool as I'm working on adding DWARF metadata to a compiler :)
It's very possible I'm doing something wrong here, please let me know.
OS: MacOS
Arch: arm64 (M1)
Version: 2.30
Python: 3.10.9
I get this on both the binary and the bundle
I thought it was an issue with my work, but I get the same when compiling this C file:
Then to confirm I ran dwarfdump on it:
and if I feed the result dSYM bundle to llvm-dwarfdump:
test.zip
The text was updated successfully, but these errors were encountered: