-
Notifications
You must be signed in to change notification settings - Fork 1.4k
[cxxmodules] Added missing PushTransactionRAII to rootcling. #912
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
With modules rootcling can now deserialize decls from this method, so we need to have a transaction when running this code.
|
Starting build on |
|
Build failed on ubuntu14/native. |
|
LGTM if the bots are green. I'd expect, in long term, to avoid calling the entire routine. |
| std::list<std::string> headers; | ||
|
|
||
| // We push a new transaction because we could deserialize decls here | ||
| cling::Interpreter::PushTransactionRAII RAII(&interp); |
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.
Do we know/understand which part of the code can deserialize? I.e. Can this be safely move to line 3422?
|
@phsft-bot build |
|
Starting build on |
With modules rootcling can now deserialize decls from this method,
so we need to have a transaction when running this code.