diff options
| author | Yonghong Song <yhs@fb.com> | 2020-07-29 22:46:07 -0700 |
|---|---|---|
| committer | Yonghong Song <yhs@fb.com> | 2020-08-04 12:35:39 -0700 |
| commit | 6d218b4adb093ff2e9764febbbc89f429412006c (patch) | |
| tree | f2352b6d9e75396955554151644aad76c326f78a /lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp | |
| parent | 3bfbc5df87cb0e736fe917e4a8d5166bc0b4ea79 (diff) | |
BPF: support type exist/size and enum exist/value relocations
Four new CO-RE relocations are introduced:
- TYPE_EXISTENCE: whether a typedef/record/enum type exists
- TYPE_SIZE: the size of a typedef/record/enum type
- ENUM_VALUE_EXISTENCE: whether an enum value of an enum type exists
- ENUM_VALUE: the enum value of an enum type
These additional relocations will make CO-RE bpf programs
more adaptive for potential kernel internal data structure
changes.
Differential Revision: https://reviews.llvm.org/D83878
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp')
0 files changed, 0 insertions, 0 deletions
