MCPcopy Create free account
hub / github.com/GoSSIP-SJTU/Armariris / getFunctionLoc

Method getFunctionLoc

lib/Transforms/IPO/SampleProfile.cpp:1066–1077  ·  view source on GitHub ↗

\brief Get the line number for the function header. This looks up function \p F in the current compilation unit and retrieves the line number where the function is defined. This is line 0 for all the samples read from the profile file. Every line number is relative to this line. \param F Function object to query. \returns the line number where \p F is defined. If it returns 0, it means that th

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 6

getSubprogramMethod · 0.45
getLineMethod · 0.45
diagnoseMethod · 0.45
getContextMethod · 0.45
getNameMethod · 0.45

Tested by

no test coverage detected