[PATCH] D145431: [lld][WebAssembly] Implement --why-extract flag from the ELF backend

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 6 17:33:50 PST 2023


MaskRay accepted this revision.
MaskRay added inline comments.


================
Comment at: lld/wasm/SymbolTable.cpp:768
+  if (!config->whyExtract.empty()) {
+    config->whyExtractRecords.emplace_back(toString(oldFile), s->getFile(), *s);
+  }
----------------
drop braces for one-line simple statements.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D145431



More information about the llvm-commits mailing list