search for: _z9function2v

Displaying 1 result from an estimated 1 matches for "_z9function2v".

Did you mean: _z9function1v
2014 Jun 11
3
[LLVMdev] How do clang & clang++ choose function names for LLVM IR?
...ool to do static analysis, printing call graphs and such. When compiling C programs to IR (and eventually to call graphs), function names remain the same (main, function1, function2 etc.), but when compiling the same program as C++, the function names often have cruft added to them (_Z9function1v, _Z9function2v etc.) which doesn't make for a very pretty graph. Why are these extra characters added when going to IR from C++, but not C? I'm interested in what they're for and if there's anyway to avoid them for the sake of making nice graphs. Thanks, David Glanzman -------------- next part -...