Skip to content

Commit

Permalink
[lldb][NFC] Remove dependency on DataLayout::getPrefTypeAlignment
Browse files Browse the repository at this point in the history
  • Loading branch information
gchatelet committed Jan 13, 2023
1 parent 652d278 commit bafa145
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lldb/source/Expression/IRInterpreter.cpp
Expand Up @@ -408,7 +408,7 @@ class InterpreterStackFrame {
lldb_private::Status alloc_error;

return Malloc(m_target_data.getTypeAllocSize(type),
m_target_data.getPrefTypeAlignment(type));
m_target_data.getPrefTypeAlign(type).value());
}

std::string PrintData(lldb::addr_t addr, llvm::Type *type) {
Expand Down

0 comments on commit bafa145

Please sign in to comment.