[lld] [ELF] Add context-aware diagnostic functions (PR #112319)

Ellis Hoag via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 30 08:45:38 PDT 2024


================
@@ -152,6 +152,21 @@ void message(const Twine &msg, llvm::raw_ostream &s = outs());
 void warn(const Twine &msg);
 uint64_t errorCount();
----------------
ellishg wrote:

Is the plan to replace these error methods with `elf::Warn()`, `elf::Err()`, ..., etc? If so can we add a doc to point users to these new methods?

https://github.com/llvm/llvm-project/pull/112319


More information about the llvm-commits mailing list