aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
diff options
context:
space:
mode:
authorYonghong Song <yhs@fb.com>2022-04-14 08:42:52 -0700
committerYonghong Song <yhs@fb.com>2022-04-14 11:34:32 -0700
commit6ee71e53e56b382d3f3a38751f84b02feb0befda (patch)
tree255613ea2e77c0a013990bd3a9d3543c0777aa09 /lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
parent3efad612d234f938d5012317cfb827e2bf8a1ee7 (diff)
downloadllvm-6ee71e53e56b382d3f3a38751f84b02feb0befda.zip
llvm-6ee71e53e56b382d3f3a38751f84b02feb0befda.tar.gz
llvm-6ee71e53e56b382d3f3a38751f84b02feb0befda.tar.bz2
[BPF] handle opaque-pointer for __builtin_preserve_enum_value
Opaque pointer [1] is enabled as the default with commit [2]. Andrii found that current __builtin_preserve_enum_value() can only handle non opaque pointer code pattern and will segfault with latest llvm main branch where opaque-pointer is enabled by default. This patch added the opaque pointer support. Besides llvm selftests, also verified with bpf-next bpf selftests. [1] https://llvm.org/docs/OpaquePointers.html [2] https://reviews.llvm.org/D123122 Differential Revision: https://reviews.llvm.org/D123800
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp')
0 files changed, 0 insertions, 0 deletions