summaryrefslogtreecommitdiff
path: root/lldb/source/Symbol/TypeSystem.cpp
diff options
context:
space:
mode:
authorDaniil Kovalev <dkovalev@accesssoftek.com>2024-04-30 11:15:35 +0300
committerGitHub <noreply@github.com>2024-04-30 11:15:35 +0300
commit64248d7dee09fef4900058ba98a67feb68eb617c (patch)
tree72a4dc1b038c94d8a7c11de54cfbe6c7235cfcb3 /lldb/source/Symbol/TypeSystem.cpp
parenta413c563bdcaac08f7c325c7d69e19f924435e59 (diff)
[PAC][lldb][Dwarf] Support `__ptrauth`-qualified types in user expressions (#84387)
Depends on #84384 and #90329 This adds support for `DW_TAG_LLVM_ptrauth_type` entries corresponding to explicitly signed types (e.g. free function pointers) in lldb user expressions. Applies PR https://github.com/apple/llvm-project/pull/8239 from Apple's downstream and also adds tests and related code. --------- Co-authored-by: Jonas Devlieghere <jonas@devlieghere.com>
Diffstat (limited to 'lldb/source/Symbol/TypeSystem.cpp')
-rw-r--r--lldb/source/Symbol/TypeSystem.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/lldb/source/Symbol/TypeSystem.cpp b/lldb/source/Symbol/TypeSystem.cpp
index 59b1b39e635a..3665771b1889 100644
--- a/lldb/source/Symbol/TypeSystem.cpp
+++ b/lldb/source/Symbol/TypeSystem.cpp
@@ -93,6 +93,11 @@ CompilerType TypeSystem::AddConstModifier(lldb::opaque_compiler_type_t type) {
return CompilerType();
}
+CompilerType TypeSystem::AddPtrAuthModifier(lldb::opaque_compiler_type_t type,
+ uint32_t payload) {
+ return CompilerType();
+}
+
CompilerType
TypeSystem::AddVolatileModifier(lldb::opaque_compiler_type_t type) {
return CompilerType();