http://llvm.org/bugs/show_bug.cgi?id=11446
Bug #: 11446
Summary: Clang plugin PrintFunctionNames does not work on
Windows VS10 or MinGW
Product: clang
Version: trunk
Platform: PC
OS/Version: Windows NT
Status: NEW
Severity: normal
Priority: P
Component: Frontend
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
Classification: Unclassified
I'm trying to use LLVM/Clang to build a plugin containing a simple AST walker.
I considered starting from the sample plugin PrintFunctionNames and enhance it.
While PrintFunctionNames works as intended on Linux and Mac (printing the name
of the two global functions in my simple test file), on Windows we have:
(VS2010)
> clang.exe -cc1 -load ..\..\lib\Release\PrintFunctionNames.dll -plugin
> print-fns ..\..\asd.cpp
error: unable to find plugin 'print-fns'
(MinGW)
> clang.exe -cc1 -load ..\lib\PrintFunctionNames.dll -plugin print-fns
> ..\asd.cpp
error: unable to find plugin 'print-fns'
It might be that this problem is not truly a bug, but I can't figure out how to
get this working.
I'm working on Windows 7, with a fresh checkout from the LLVM and Clang trunks.
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs