-
Notifications
You must be signed in to change notification settings - Fork 39
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
[SOL] re-enable debug info on SBF #25
[SOL] re-enable debug info on SBF #25
Conversation
There's probably a good reason why this was disabled in the first place. I've tested it with a C program and it works fine though. |
Aha!
|
Another problem is this This corrupts all relocs in the I patched that section by hand and got a working Solana |
fe48200
to
5b4b870
Compare
Debug section relocs work now, @dmakarov would you mind taking a look? |
Looks good, but I'll run a few more tests before I can merge this. |
Thanks – one thing I was concerned about was relocs in the |
I get the relocation error when a program is loaded to RBPF
Pretty much all our tests fail with this change. If you want to test this, build solana-labs/rust with the
in |
Thanks for verifying, I will investigate this further then. The solution is probably to only use the |
Moved over to #32 |
Set
SupportsDebugInformation
totrue
forsbf
.