From bafa145c0eb63ac0c7b662bd646aa2c73cbc07b7 Mon Sep 17 00:00:00 2001 From: Guillaume Chatelet Date: Fri, 13 Jan 2023 15:04:06 +0000 Subject: [PATCH] [lldb][NFC] Remove dependency on DataLayout::getPrefTypeAlignment --- lldb/source/Expression/IRInterpreter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lldb/source/Expression/IRInterpreter.cpp b/lldb/source/Expression/IRInterpreter.cpp index 8e09e9f0..36a8a74 100644 --- a/lldb/source/Expression/IRInterpreter.cpp +++ b/lldb/source/Expression/IRInterpreter.cpp @@ -408,7 +408,7 @@ public: 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) { -- 2.7.4