aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp
diff options
context:
space:
mode:
authorSami Tolvanen <samitolvanen@google.com>2023-01-06 20:54:09 +0000
committerSami Tolvanen <samitolvanen@google.com>2023-01-11 22:53:22 +0000
commita78cfd5909024f9daa9a5175e9d411b0fac0e9a1 (patch)
treec00dadc6c7fd43f8683d415906f6468aa4fa0e93 /lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp
parent6a4a697e179986324342701adc9e1c47622c3ea9 (diff)
downloadllvm-a78cfd5909024f9daa9a5175e9d411b0fac0e9a1.zip
llvm-a78cfd5909024f9daa9a5175e9d411b0fac0e9a1.tar.gz
llvm-a78cfd5909024f9daa9a5175e9d411b0fac0e9a1.tar.bz2
[GCOV] Set !kcfi_type metadata for indirectly called functions
With CONFIG_GCOV_KERNEL, the Linux kernel indirectly calls the __llvm_gcov_* functions generated by LLVM. With -fsanitize=kcfi, these calls are made from instrumented code and fail indirect call checks as they don't have !kcfi_type metadata. Similarly to D138945, set type metadata for these functions to allow GCOV and KCFI to be both enabled. Link: https://github.com/ClangBuiltLinux/linux/issues/1778 Reviewed By: MaskRay Differential Revision: https://reviews.llvm.org/D141444
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp')
0 files changed, 0 insertions, 0 deletions