[lld] [ELF] ScriptLexer: generate tokens lazily (PR #100493)
Peter Smith via llvm-commits
llvm-commits at lists.llvm.org
Thu Jul 25 12:07:58 PDT 2024
================
@@ -1098,12 +1112,31 @@ SymbolAssignment *ScriptParser::readProvideHidden(bool provide, bool hidden) {
return cmd;
}
+// Replace whitespace sequence with one single space. The output is used by
+// -Map.
+static void screezeSpaces(std::string &str) {
----------------
smithp35 wrote:
I think you mean squeezeSpaces?
https://github.com/llvm/llvm-project/pull/100493
More information about the llvm-commits
mailing list