[Lldb-commits] [llvm] [mlir] [flang] [clang-tools-extra] [libcxx] [openmp] [lldb] [compiler-rt] [libc] [clang] [lld] fix issue 73559. (PR #74926)

2023-12-16 Thread Antonio Frighetto via lldb-commits

antoniofrighetto wrote:

Could you kindly squash everything into one commit and provide a meaningful git 
commit title and git message description? For example:
```
[clang][Parse] `TryAnnotateCXXScopeToken` to be called only when parsing C++

Assume `TryAnnotateCXXScopeToken` to be parsing C++ code in all of its paths.

Fixes: https://github.com/llvm/llvm-project/issues/73559.
```

https://github.com/llvm/llvm-project/pull/74926
___
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits


[Lldb-commits] [lldb] be0e42c - [lldb][Plugins] Reflect structure changes in ObjectContainer

2023-09-05 Thread Antonio Frighetto via lldb-commits

Author: Antonio Frighetto
Date: 2023-09-05T19:13:43+02:00
New Revision: be0e42c16b8cfb59d5e8e3527141cd7f4931cd17

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

LOG: [lldb][Plugins] Reflect structure changes in ObjectContainer

Reflect recent changes made to MachO
`fileset_entry_command` struct.

Added: 


Modified: 

lldb/source/Plugins/ObjectContainer/Mach-O-Fileset/ObjectContainerMachOFileset.cpp

Removed: 




diff  --git 
a/lldb/source/Plugins/ObjectContainer/Mach-O-Fileset/ObjectContainerMachOFileset.cpp
 
b/lldb/source/Plugins/ObjectContainer/Mach-O-Fileset/ObjectContainerMachOFileset.cpp
index 4f9661eb0cdf0b2..2dc71d85777ca7a 100644
--- 
a/lldb/source/Plugins/ObjectContainer/Mach-O-Fileset/ObjectContainerMachOFileset.cpp
+++ 
b/lldb/source/Plugins/ObjectContainer/Mach-O-Fileset/ObjectContainerMachOFileset.cpp
@@ -158,7 +158,7 @@ ParseFileset(DataExtractor &data, mach_header header,
 if (lc.cmd == LC_FILESET_ENTRY) {
   fileset_entry_command entry;
   data.CopyData(load_cmd_offset, sizeof(fileset_entry_command), &entry);
-  lldb::offset_t entry_id_offset = load_cmd_offset + entry.entry_id;
+  lldb::offset_t entry_id_offset = load_cmd_offset + entry.entry_id.offset;
   const char *id = data.GetCStr(&entry_id_offset);
   entries.emplace_back(entry.vmaddr + slide, entry.fileoff,
std::string(id));



___
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits