diff options
author | Yuanfang Chen <yuanfang.chen@sony.com> | 2022-06-27 11:33:45 -0700 |
---|---|---|
committer | Yuanfang Chen <yuanfang.chen@sony.com> | 2022-06-27 12:09:13 -0700 |
commit | 6678f8e505b19069a9dbdc3e3ee088d543752412 (patch) | |
tree | a476e413efab85d27d2469fab484a87ab093b5bd /lldb/source/Commands/CommandObjectGUI.cpp | |
parent | ae90bc8467589cbc2079b93fae2b6ceec0821e27 (diff) | |
download | llvm-6678f8e505b19069a9dbdc3e3ee088d543752412.zip llvm-6678f8e505b19069a9dbdc3e3ee088d543752412.tar.gz llvm-6678f8e505b19069a9dbdc3e3ee088d543752412.tar.bz2 |
[ubsan] Using metadata instead of prologue data for function sanitizer
Information in the function `Prologue Data` is intentionally opaque.
When a function with `Prologue Data` is duplicated. The self (global
value) references inside `Prologue Data` is still pointing to the
original function. This may cause errors like `fatal error: error in backend: Cannot represent a difference across sections`.
This patch detaches the information from function `Prologue Data`
and attaches it to a function metadata node.
This and D116130 fix https://github.com/llvm/llvm-project/issues/49689.
Reviewed By: pcc
Differential Revision: https://reviews.llvm.org/D115844
Diffstat (limited to 'lldb/source/Commands/CommandObjectGUI.cpp')
0 files changed, 0 insertions, 0 deletions