MCPcopy Create free account
hub / github.com/avast/retdec / addDebugNameForVar

Method addDebugNameForVar

src/llvmir2hll/ir/module.cpp:855–857  ·  view source on GitHub ↗

* @brief Adds a name for the given variable using debug information. * * The new name overwrites any name that has already been set for @a var. */

Source from the content-addressed store, hash-verified

853* The new name overwrites any name that has already been set for @a var.
854*/
855void Module::addDebugNameForVar(ShPtr<Variable> var, const std::string &name) {
856 debugVarNameMap[var] = name;
857}
858
859/**
860* @brief Returns the number of functions detected in the front-end.

Callers 8

obtainVarNamesMethod · 0.80
TEST_FFunction · 0.80
TEST_FFunction · 0.80
TEST_FFunction · 0.80
TEST_FFunction · 0.80
TEST_FFunction · 0.80
TEST_FFunction · 0.80
TEST_FFunction · 0.80

Calls

no outgoing calls

Tested by 7

TEST_FFunction · 0.64
TEST_FFunction · 0.64
TEST_FFunction · 0.64
TEST_FFunction · 0.64
TEST_FFunction · 0.64
TEST_FFunction · 0.64
TEST_FFunction · 0.64