[cfe-dev] manipulating @llvm.var.annotation in AST?

Joshua Cranmer Pidgeot18 at gmail.com
Tue Sep 13 17:21:09 PDT 2011


On 9/13/2011 6:26 PM, Mark Brown wrote:
> Theres a direct way todo this? How can I avoid writing a AST file? 
> When I run
>
> clang -cc1 -load ~/llvm/Release+Asserts/lib/libPrintFunctionNames.so 
> -plugin print-fns test_file.c
> or
> clang -cc1 -load ~/llvm/Release+Asserts/lib/libPrintFunctionNames.so 
> -plugin print-fns test_file.c -S -emit-llvm
>
> I don't get any output, just my own printouts.

Try s/-plugin/-plugin-add/.

-- 
Joshua Cranmer
News submodule owner
DXR coauthor




More information about the cfe-dev mailing list