[PATCH] D143536: [llvm-lib 1/5] Write object files in reversed order.

Eli Friedman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 7 17:44:23 PST 2023


efriedma added subscribers: mstorsjo, efriedma.
efriedma added a comment.

Not sure if I have a strong opinion on whether we should do this... but I guess this is reasonable.



================
Comment at: llvm/lib/ToolDrivers/llvm-lib/LibDriver.cpp:142
   }
+  for (auto Name = Names.rbegin(); Name != Names.rend(); ++Name)
+    llvm::outs() << *Name << '\n';
----------------
llvm::reverse.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D143536



More information about the llvm-commits mailing list