[all-commits] [llvm/llvm-project] 9d6350: [MC] Move ELFWriter::createMemtagRelocs to AArch64...

Fangrui Song via All-commits all-commits at lists.llvm.org
Sun Jun 23 15:58:07 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9d63506ddc6d60e220d967eb11779114075d401d
      https://github.com/llvm/llvm-project/commit/9d63506ddc6d60e220d967eb11779114075d401d
  Author: Fangrui Song <i at maskray.me>
  Date:   2024-06-23 (Sun, 23 Jun 2024)

  Changed paths:
    M llvm/lib/MC/ELFObjectWriter.cpp
    M llvm/lib/Target/AArch64/MCTargetDesc/AArch64ELFStreamer.cpp

  Log Message:
  -----------
  [MC] Move ELFWriter::createMemtagRelocs to AArch64ELFStreamer::finishImpl

Follow-up to https://reviews.llvm.org/D128958

* Move target-specific code away from the generic ELFWriter.
* All sections should have been created before MCAssembler::layout.
* Remove one `registerSection` use, which should be considered private to MCAssembler.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list