We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
A crash during the compilation is caused by explicit/direct calls to the various callback functions:
#include <stddef.h> void __typeart_leave_scope(int alloca_count); int main(void) { __typeart_leave_scope(0); return 0; }
In TypeARTFunctions.cpp, check if the function is already declared in the module.
TypeARTFunctions.cpp
TAFunctionDeclarator::make_function(...) { ... const auto do_make = [&](auto& name, auto f_type) { const bool has_f = m.getFunction(name) != nullptr; auto fc = m.getOrInsertFunction(name, f_type); if (has_f) { auto fcc = fc.getCallee(); return dyn_cast<Function>(fc.getCallee()->stripPointerCasts()); } ...
The text was updated successfully, but these errors were encountered:
fix #40 and fix #41
8d1f8ff
fix #40 and #41 (#42)
11c5b82
2567cc9
No branches or pull requests
A crash during the compilation is caused by explicit/direct calls to the various callback functions:
Potential fix
In
TypeARTFunctions.cpp
, check if the function is already declared in the module.Rough fix outline
The text was updated successfully, but these errors were encountered: