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
Consider this program:
#include <stdio.h> static void exit(int X) { printf("myexit called\n"); } int main() { exit(1); }
This should print 'myexit called' once. However:
$ llvm-gcc -c -emit-llvm t.c $ lli t.o myexit called myexit called ERROR: exit(-1073744072) returned! Abort
This is due to the failures of the Module::getOrInsertFunction method.
-Chris
The text was updated successfully, but these errors were encountered:
getOrInsertFunction fixed. lli fixed.
Sorry, something went wrong.
refs llvm#1460 COPYの定義レジスタを参照するMIがPHIの場合はCOPYを削除
3d758e2
refs llvm#1460 lit追加
92d37ff
1550f8b
972bbde
No branches or pull requests
Extended Description
Consider this program:
#include <stdio.h>
static void exit(int X) {
printf("myexit called\n");
}
int main() {
exit(1);
}
This should print 'myexit called' once. However:
$ llvm-gcc -c -emit-llvm t.c
$ lli t.o
myexit called
myexit called
ERROR: exit(-1073744072) returned!
Abort
This is due to the failures of the Module::getOrInsertFunction method.
-Chris
The text was updated successfully, but these errors were encountered: