[PATCH] D107133: [AVR] emit `MCSA_Global` references to `__do_global_ctors` and `__do_global_dtors`

Matt Jacobson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Aug 1 21:21:14 PDT 2021


mhjacobson added a comment.

Just brainstorming.  Another option might be to move the code in `AVRTargetStreamer::finish()` into a new override `AVRAsmPrinter::doFinalization()`.  That would make it so that both bits of `.globl` code are in `AVRAsmPrinter`.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D107133/new/

https://reviews.llvm.org/D107133



More information about the llvm-commits mailing list