[llvm] [MC] output inlined-at debug info (PR #106230)
Artem Belevich via llvm-commits
llvm-commits at lists.llvm.org
Thu Oct 24 10:57:24 PDT 2024
================
@@ -141,8 +141,8 @@ class MCObjectStreamer : public MCStreamer {
SMLoc Loc) override;
void emitDwarfLocDirective(unsigned FileNo, unsigned Line, unsigned Column,
unsigned Flags, unsigned Isa,
- unsigned Discriminator,
- StringRef FileName) override;
+ unsigned Discriminator, StringRef FileName,
+ StringRef Location = {}) override;
----------------
Artem-B wrote:
Nit: `Location` is a bit misleading here. AFAICT, this will print anything after the `.loc` directive.
`Comment` or `Note` might describe the argument purpose better, even if we do happen to use it for whatever `DebugLoc.print()` generates.
https://github.com/llvm/llvm-project/pull/106230
More information about the llvm-commits
mailing list