[Lldb-commits] [lldb] af91388 - Try to unbreak the windows CI

Jason Molenda via lldb-commits lldb-commits at lists.llvm.org
Sun Jun 20 13:13:54 PDT 2021


Author: Jason Molenda
Date: 2021-06-20T13:13:46-07:00
New Revision: af913881e33c30d34c806efc586360d3bfc3a5ca

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

LOG: Try to unbreak the windows CI

MSVC and clang seem to disagree with whether I can do this.

Added: 
    

Modified: 
    lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp

Removed: 
    


################################################################################
diff  --git a/lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp b/lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp
index eb32a2480e430..e7652cffb1c81 100644
--- a/lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp
+++ b/lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp
@@ -6516,12 +6516,17 @@ bool ObjectFileMachO::SaveCore(const lldb::ProcessSP &process_sp,
                 dirty_page_list.hasValue()) {
               core_style = SaveCoreStyle::eSaveCoreDirtyOnly;
               for (addr_t dirtypage : dirty_page_list.getValue()) {
-                page_object obj = {
-                    .addr = dirtypage, .size = pagesize, .prot = prot};
+                page_object obj;
+                obj.addr = dirtypage;
+                obj.size = pagesize;
+                obj.prot = prot;
                 pages_to_copy.push_back(obj);
               }
             } else {
-              page_object obj = {.addr = addr, .size = size, .prot = prot};
+              page_object obj;
+              obj.addr = addr;
+              obj.size = size;
+              obj.prot = prot;
               pages_to_copy.push_back(obj);
             }
           }


        


More information about the lldb-commits mailing list