Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,10 @@ bool LLDBMemoryReader::queryDataLayout(DataLayoutQueryType type, void *inBuffer,
void *outBuffer) {
switch (type) {
case DLQ_GetPtrAuthMask: {
assert(m_process.GetCodeAddressMask() == m_process.GetDataAddressMask() &&
"not supported");
// The MemoryReader API doesn't distinguish between the two, so
// this configuration is not yet supported.
if (m_process.GetCodeAddressMask() != m_process.GetDataAddressMask())
return false;
lldb::addr_t ptrauth_mask = m_process.GetCodeAddressMask();
if (!ptrauth_mask)
return false;
Expand Down