-
Notifications
You must be signed in to change notification settings - Fork 437
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
ExtAPI module cannot handle those functions with name mangling. #1391
Comments
@shuangxiangkan could you take a look at this name matching case? We need to match using general rules? |
@DesNevermore Did you use the same clang to compile your application code and the extapi.c? If so, they should be the same name either @"fopen" or @"\01_fopen", but not mixed. |
@yuleisui Yes, I use the clang version 14.0.6. The compile command is: |
@shuangxiangkan will fix this shortly. |
@DesNevermore |
On my mac, the fopen() function will be rename to @"\01_fopen" by name mangling mechanism during compilation, which makes the Function Declaration to Definition map construction in "LLVMModule.cpp: void LLVMModuleSet::buildFunToFunMap()" cannot handle this case using exact name comparison.
The text was updated successfully, but these errors were encountered: