[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:21:50 PDT 2025


CarlosAlbertoEnciso wrote:

@jalopezg-git I added some memory data collection:
```
Error LVReaderHandler::process() {
  captureMemoryData("process");

  if (Error Err = createReaders())
    captureMemoryData("process");
    return Err;
  if (Error Err = printReaders())
    captureMemoryData("process");
    return Err;
  if (Error Err = compareReaders())
    captureMemoryData("process");
    return Err;

  return Error::success();
}
```

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


More information about the llvm-commits mailing list