[PATCH] D150644: [lld][ELF] Implement –print-memory-usage

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed May 24 12:18:51 PDT 2023


MaskRay added inline comments.


================
Comment at: lld/ELF/LinkerScript.cpp:1456
+    }
+    os << "\n";
+  }
----------------



================
Comment at: lld/test/ELF/linkerscript/print-memory-usage.s:17
+
+# CHECK2: Memory region         Used Size  Region Size  %age Used
+
----------------
If you want to test that there is not output after the header, use `CHECK2-NOT: {{.}}`


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D150644/new/

https://reviews.llvm.org/D150644



More information about the llvm-commits mailing list