aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPythonImpl.h
diff options
context:
space:
mode:
authorSriraman Tallam <tmsriram@google.com>2020-05-07 18:18:37 -0700
committerSriraman Tallam <tmsriram@google.com>2020-05-07 18:18:37 -0700
commite8147ad8222602d16728c370d5fac086260d058c (patch)
tree3c7ebd53c547834dfcb86f5344a75ce58a95da9a /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPythonImpl.h
parentf5224d437eace9593b64ef2eff501df397bce6a8 (diff)
downloadllvm-e8147ad8222602d16728c370d5fac086260d058c.zip
llvm-e8147ad8222602d16728c370d5fac086260d058c.tar.gz
llvm-e8147ad8222602d16728c370d5fac086260d058c.tar.bz2
Uniuqe Names for Internal Linkage Symbols.
This is a standalone patch and this would help Propeller do a better job of code layout as it can accurately attribute the profiles to the right internal linkage function. This also helps SampledFDO/AutoFDO correctly associate sampled profiles to the right internal function. Currently, if there is more than one internal symbol foo, their profiles are aggregated by SampledFDO. This patch adds a new clang option, -funique-internal-funcnames, to generate unique names for functions with internal linkage. This patch appends the md5 hash of the module name to the function symbol as a best effort to generate a unique name for symbols with internal linkage. Differential Revision: https://reviews.llvm.org/D73307
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPythonImpl.h')
0 files changed, 0 insertions, 0 deletions