[llvm] [llvm-debuginfo-analyzer] Apply various memory savings in Core/LVxxx base classes (PR #144399)

Carlos Alberto Enciso via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 18 09:12:37 PDT 2025


CarlosAlbertoEnciso wrote:

**After**

`llvm-debuginfo-analyzer --print=all --attribute=all --internal=id,memory --output=split chrome.elf`

```
Split View Location: '[...]chrome.elf_cus/'

Logical View:
[0x0000000001][0x0000000000][000]            {File} 'chrome.elf' -> elf64-x86-64

GID: 0x0007cd5909 GLevel: 0x0000000011

-------------------------------------------
Memory at: compareReaders
-------------------------------------------
Total Virtual Memory:       137,112,543,232
Total Physical Memory:       68,393,066,496
Virtual Memory Used:         73,589,620,736
Physical Memory Used:        60,444,229,632
Virtual Memory Used (me):    47,460,720,640
Physical Memory Used (me):   46,571,905,024

-------------------------------------------
Memory at: createReaders
-------------------------------------------
Total Virtual Memory:       137,112,543,232
Total Physical Memory:       68,393,066,496
Virtual Memory Used:         74,473,222,144
Physical Memory Used:        61,511,487,488
Virtual Memory Used (me):    47,460,651,008
Physical Memory Used (me):   46,572,023,808

-------------------------------------------
Memory at: printReaders
-------------------------------------------
Total Virtual Memory:       137,112,543,232
Total Physical Memory:       68,393,066,496
Virtual Memory Used:         73,589,620,736
Physical Memory Used:        60,444,229,632
Virtual Memory Used (me):    47,460,720,640
Physical Memory Used (me):   46,571,905,024

-------------------------------------------
Memory at: process
-------------------------------------------
Total Virtual Memory:       137,112,543,232
Total Physical Memory:       68,393,066,496
Virtual Memory Used:         27,781,230,592
Physical Memory Used:        17,211,813,888
Virtual Memory Used (me):         4,689,920
Physical Memory Used (me):       16,736,256
```

https://github.com/llvm/llvm-project/pull/144399


More information about the llvm-commits mailing list