pzhengqc wrote: I wonder if we should do the same in AsmPrinter::emitStackSizeSection which emits function stack size information into a section? Maybe @SeanEveson can comment on this? https://github.com/llvm/llvm-project/pull/173181