[Lldb-commits] [lldb] 44e2247 - [lldb] Fix DataLayout reference after 0f1137ba79c0

Jordan Rupprecht via lldb-commits lldb-commits at lists.llvm.org
Tue Apr 27 20:08:20 PDT 2021


Author: Jordan Rupprecht
Date: 2021-04-27T20:07:09-07:00
New Revision: 44e2247dcd04f3421164b085094eb575270564ba

URL: https://github.com/llvm/llvm-project/commit/44e2247dcd04f3421164b085094eb575270564ba
DIFF: https://github.com/llvm/llvm-project/commit/44e2247dcd04f3421164b085094eb575270564ba.diff

LOG: [lldb] Fix DataLayout reference after 0f1137ba79c0

Added: 
    

Modified: 
    lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionParser.cpp

Removed: 
    


################################################################################
diff  --git a/lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionParser.cpp b/lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionParser.cpp
index 0f3d36cec937e..cf807a94d8fa9 100644
--- a/lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionParser.cpp
+++ b/lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionParser.cpp
@@ -514,7 +514,7 @@ ClangExpressionParser::ClangExpressionParser(
     LLDB_LOGF(log, "Using SIMD alignment: %d",
               target_info->getSimdDefaultAlign());
     LLDB_LOGF(log, "Target datalayout string: '%s'",
-              target_info->getDataLayout().getStringRepresentation().c_str());
+              target_info->getDataLayoutString());
     LLDB_LOGF(log, "Target ABI: '%s'", target_info->getABI().str().c_str());
     LLDB_LOGF(log, "Target vector alignment: %d",
               target_info->getMaxVectorAlign());


        


More information about the lldb-commits mailing list