[all-commits] [llvm/llvm-project] d2a7a2: Add __attribute__((retain)) to LLVM_DUMP_METHOD (#...

Matthias Braun via All-commits all-commits at lists.llvm.org
Wed Mar 26 12:02:53 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d2a7a249c567cb170f22fe6e932896f9298b581d
      https://github.com/llvm/llvm-project/commit/d2a7a249c567cb170f22fe6e932896f9298b581d
  Author: Matthias Braun <matze at braunis.de>
  Date:   2025-03-26 (Wed, 26 Mar 2025)

  Changed paths:
    M llvm/include/llvm/Support/Compiler.h

  Log Message:
  -----------
  Add __attribute__((retain)) to LLVM_DUMP_METHOD (#133025)

Without the retain attribute the dump functions will be stripped when
LLVM is compiled with `-ffunction-section -Wl,--gc-sections` on
ELF-based systems.



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