-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Make cling build again on Windows (following the recent changes). To … #653
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
Conversation
|
Starting build on |
| void deregisterEHFrames() override { | ||
| #ifdef LLVM_ON_WIN32 | ||
| platform::DeRegisterEHFrames(Addr, Size); | ||
| // platform::DeRegisterEHFrames(Addr, Size); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@marsupial : to be reviewed...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@marsupial, should I bring back the arguments of deregisterEHFrames or we could update platform::DeRegisterEHFrames's signature?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure what this is doing.
If exception handling on X64 broke because of the LLVM upgrade it should be fixed.
If exception handling on X86 still isn't implemented, disabling for X64 doesn't seem like a solution.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@vgvassilev I don't understand the asymmetry between registerEHFrames and deregisterEHFrames. MemoryManager has args to both, RuntimeDyld has args to none, we have args to one and call it override? Could you have a look, please?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I believe RTDyldMemoryManager has args to a static helper function (for Unix) that the instance method (which is without args call too).
I've pushed the relevant changes for Win64 exceptions here: root-project/cling#164, and hid the code behind a CLING_WIN_SEH_EXCEPTIONS macro until you are ready to turn it on.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @marsupial !
…be reviewed