llvm-project icon indicating copy to clipboard operation
llvm-project copied to clipboard

[lldb] Upstream expression support for arm64e signed pointers.

Open JDevlieghere opened this issue 3 years ago • 2 comments

Pointers cannot be signed out-of-process (which the current JIT linker architecture requires), so this patch adds an IR transform which eliminates all signed pointers in the expression replaces them with raw pointers and a call to a runtime pointer signing function that is executed before the rest of the expression code is run.

JDevlieghere avatar Jul 20 '22 23:07 JDevlieghere

This depends on clang::CompilerInvocation::setDefaultPointerAuthOptions which isn't currently upstream.

CC @ahmedbougacha

JDevlieghere avatar Jul 20 '22 23:07 JDevlieghere

@swift-ci please test

JDevlieghere avatar Aug 02 '23 20:08 JDevlieghere