-
Notifications
You must be signed in to change notification settings - Fork 0
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
LLVM Backend #23
base: master
Are you sure you want to change the base?
LLVM Backend #23
Conversation
src/shell/llvm_executor.cpp
Outdated
} | ||
catch (std::exception const& e) | ||
{ | ||
std::cout << "Exception caught: " << e.what(); |
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.
later on, we should bubble back errors in a way that does not require cout
to work (imagine unit tests) :)
src/shell/llvm_executor.cpp
Outdated
void init() | ||
{ | ||
InitializeNativeTarget(); | ||
InitializeNativeTargetAsmPrinter(); | ||
} |
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.
in LLVM, is there a counter-part to these init functions? If so, we'd need to also be able to call them. That would then probably look like we're about to do that either via a class (e.g. LLVMBackend
or LLVMRunner
....) whose destructor would ensure that, such that the caller doesn't need to care nor even know about its need of such calls.
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.
this is llvm functions, this is definetely will be inside LLVMBackend
class constructor
811da4d
to
d5c577e
Compare
d5c577e
to
fb11928
Compare
No description provided.