[lld] [ELF] Add context-aware diagnostic functions (PR #112319)
Peter Smith via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 15 06:28:32 PDT 2024
================
@@ -547,6 +547,8 @@ struct Ctx {
LinkerScript *script;
std::unique_ptr<TargetInfo> target;
+ ErrorHandler *e;
----------------
smithp35 wrote:
I think it would be worth using a full name as it isn't used frequently enough to benefit from a short abbreviation.
`ctx.e` could be almost anything. Perhaps ctx.errHandler.
https://github.com/llvm/llvm-project/pull/112319
More information about the llvm-commits
mailing list