search for: finenam

Displaying 2 results from an estimated 2 matches for "finenam".

Did you mean: filenam
2012 Dec 28
2
[LLVMdev] Newbie question(?): How to correctly create debug info, when generating IR
...======== Does anybody have any idea what it is I am doing wrong? The issue seems to be related to generating the info for a CompileUnit. Currently, I am doing this: dibuilder = new DIBuilder(themodule); dibuilder->createCompileUnit(Lang, StringRef("foo.xx")), /*finename*/ StringRef(".") /*Dir*/, StringRef("XXX") /*Producer*/, false /*isOptimized*/, StringRef("") /*Flags*/, 0 /*RV: Runtime Version?*/); DIFile file = dibuilder->createFile(StringRef("fo...
2010 May 04
1
[LLVMdev] Call graph node for function: 'main' Calls external node
Hello, On the following code, // #include <stdio.h> void f2(); int main(){ f2(); return 0; } void f2(){ printf("f2()\n"); } // I have obtained the .bc file and run opt -print-callgraph finename.bc. For the main function, the output of the above command is: Call graph node for function: 'main' Calls external node However, the function called by main(which is f2) is inside the module. Is there any way to detect all function calls, including the one above and those made via po...