[llvm] [AsmPrinter] Reduce AsmPrinterHandlers virt. fn calls (PR #96785)
Fangrui Song via llvm-commits
llvm-commits at lists.llvm.org
Thu Jun 27 23:32:19 PDT 2024
================
@@ -116,18 +120,22 @@ class DebugHandlerBase : public AsmPrinterHandler {
private:
InstructionOrdering InstOrdering;
- // AsmPrinterHandler overrides.
public:
- void beginModule(Module *M) override;
+ /// For symbols that have a size designated (e.g. common symbols),
+ /// this tracks that size. Only used by DWARF.
+ virtual void setSymbolSize(const MCSymbol *Sym, uint64_t Size) {};
----------------
MaskRay wrote:
`{};` => `{}`
https://github.com/llvm/llvm-project/pull/96785
More information about the llvm-commits
mailing list