[PATCH] D76109: [ELF] Correct error message when OUTPUT_FORMAT is used

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 12 18:20:30 PDT 2020


MaskRay added a comment.

The logic is good.



================
Comment at: lld/ELF/ScriptParser.cpp:415
 
   StringRef name = unquote(next());
+  config->bfdname = name;
----------------
The local variable can be omitted now.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D76109





More information about the llvm-commits mailing list