diff options
| author | Mason Reed <mason@vector35.com> | 2025-04-02 14:42:55 -0400 |
|---|---|---|
| committer | Mason Reed <mason@vector35.com> | 2025-04-02 14:42:55 -0400 |
| commit | 003072f957498a11b7fdcbb56892af0c281c85b3 (patch) | |
| tree | f7ded5b8b876e717b20ed4402e6582b6e7aeb7d2 /view/sharedcache/core/MachOProcessor.cpp | |
| parent | 49ea03c417168a707125169b77e6ff1c7ebbe097 (diff) | |
[SharedCache] Misc fixes and comments
Diffstat (limited to 'view/sharedcache/core/MachOProcessor.cpp')
| -rw-r--r-- | view/sharedcache/core/MachOProcessor.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/view/sharedcache/core/MachOProcessor.cpp b/view/sharedcache/core/MachOProcessor.cpp index 565e6d06..7f3da817 100644 --- a/view/sharedcache/core/MachOProcessor.cpp +++ b/view/sharedcache/core/MachOProcessor.cpp @@ -193,6 +193,8 @@ uint64_t SharedCacheMachOProcessor::ApplyHeaderSections(SharedCacheMachOHeader& if (strncmp(section.segname, "__DATA_CONST", sizeof(section.segname)) == 0) semantics = ReadOnlyDataSectionSemantics; + // Typically a view would add auto sections but those won't persist when loading the BNDB. + // if we want to use an auto section here we would need to allow the core to apply auto sections from the database. m_view->AddUserSection(sectionName, section.addr, section.size, semantics, type, section.align); return true; |
