[LLVMbugs] [Bug 11446] New: Clang plugin PrintFunctionNames does not work on Windows VS10 or MinGW
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Mon Nov 28 06:46:43 PST 2011
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: unassignedclangbugs at nondot.org
ReportedBy: daniele.giannetti at gmail.com
CC: llvmbugs at cs.uiuc.edu
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.
More information about the llvm-bugs
mailing list