[all-commits] [llvm/llvm-project] 75abeb: [AVR] emit 'MCSA_Global' references to '__do_globa...

Matt Jacobson via All-commits all-commits at lists.llvm.org
Wed Aug 4 19:43:06 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 75abeb64cebd5a79e837e9ea54f19d0b2125cb28
      https://github.com/llvm/llvm-project/commit/75abeb64cebd5a79e837e9ea54f19d0b2125cb28
  Author: Matt Jacobson <mhjacobson at me.com>
  Date:   2021-08-05 (Thu, 05 Aug 2021)

  Changed paths:
    M llvm/lib/Target/AVR/AVRAsmPrinter.cpp
    M llvm/lib/Target/AVR/MCTargetDesc/AVRTargetStreamer.cpp
    M llvm/lib/Target/AVR/MCTargetDesc/AVRTargetStreamer.h
    A llvm/test/CodeGen/AVR/ctors.ll

  Log Message:
  -----------
  [AVR] emit 'MCSA_Global' references to '__do_global_ctors' and '__do_global_dtors'

Emit references to '__do_global_ctors' and '__do_global_dtors' to allow
constructor/destructor routines to run.

Reviewed by: MaskRay

Differential Revision: https://reviews.llvm.org/D107133




More information about the All-commits mailing list