[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:10:46 PDT 2025


CarlosAlbertoEnciso wrote:

Before

`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:         77,308,243,968
Physical Memory Used:        63,048,773,632
Virtual Memory Used (me):    50,344,706,048
Physical Memory Used (me):   47,515,443,200

-------------------------------------------
Memory at: createReaders
-------------------------------------------
Total Virtual Memory:       137,112,543,232
Total Physical Memory:       68,393,066,496
Virtual Memory Used:         77,290,975,232
Physical Memory Used:        62,005,583,872
Virtual Memory Used (me):    50,343,739,392
Physical Memory Used (me):   47,427,366,912

-------------------------------------------
Memory at: printReaders
-------------------------------------------
Total Virtual Memory:       137,112,543,232
Total Physical Memory:       68,393,066,496
Virtual Memory Used:         77,308,243,968
Physical Memory Used:        63,048,773,632
Virtual Memory Used (me):    50,344,706,048
Physical Memory Used (me):   47,515,443,200

-------------------------------------------
Memory at: process
-------------------------------------------
Total Virtual Memory:       137,112,543,232
Total Physical Memory:       68,393,066,496
Virtual Memory Used:         28,671,459,328
Physical Memory Used:        22,771,384,320
Virtual Memory Used (me):         4,685,824
Physical Memory Used (me):       16,748,544
```

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


More information about the llvm-commits mailing list