diff options
author | Sami Tolvanen <[email protected]> | 2021-04-08 11:28:32 -0700 |
---|---|---|
committer | Kees Cook <[email protected]> | 2021-04-08 16:04:21 -0700 |
commit | 8b8e6b5d3b013b0bd849990af2cc0f1321850e19 (patch) | |
tree | 23d1a7b49ecee44653278a2567f2ebf4ad382d45 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 0a5b412891dfdc72eb86fcd640fe1296a4cfa9ae (diff) |
kallsyms: strip ThinLTO hashes from static functions
With CONFIG_CFI_CLANG and ThinLTO, Clang appends a hash to the names
of all static functions not marked __used. This can break userspace
tools that don't expect the function name to change, so strip out the
hash from the output.
Suggested-by: Jack Pham <[email protected]>
Signed-off-by: Sami Tolvanen <[email protected]>
Reviewed-by: Kees Cook <[email protected]>
Tested-by: Nathan Chancellor <[email protected]>
Signed-off-by: Kees Cook <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions