Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

apc says my function names not known–why not?

APC function
0
Posted

apc says my function names not known–why not?

0

There are a number of possibilities. If you specified “-x … ” on the apc command line, then it means it couldn’t find the named function in that file’s symbol table. Since apc works pretty hard to match incomplete function names, the name is probably wrong in case or spelling, or, if you provided a parameter profile, it’s probably not exactly what the C++ compiler encoded as the name for the function. You could try using apcgen to generate a probe template for all the functions in the source file (or object file, if it’s a template instance) containing the function you want, or the tool apinfo or apsymbols to dump out all the function names in the whole program.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123