[all-commits] [llvm/llvm-project] ff599b: [Hexagon] Enable init-array by default for picolib...

quic-k via All-commits all-commits at lists.llvm.org
Mon Jul 13 06:20:13 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ff599bba9d370bf58e4a34f9f29b4fb6234013f0
      https://github.com/llvm/llvm-project/commit/ff599bba9d370bf58e4a34f9f29b4fb6234013f0
  Author: quic-k <kushpal at qti.qualcomm.com>
  Date:   2026-07-13 (Mon, 13 Jul 2026)

  Changed paths:
    M clang/lib/Driver/ToolChains/Hexagon.cpp
    M clang/test/Driver/hexagon-toolchain-picolibc.c

  Log Message:
  -----------
  [Hexagon] Enable init-array by default for picolibc (#208639)

Picolibc uses the modern .init_array/.fini_array mechanism rather than
legacy .init/.fini sections. Extend UseInitArrayDefault in
HexagonToolChain::addClangTargetOptions to also return true when
--cstdlib=picolibc is selected, preventing -fno-use-init-array from
being passed to cc1.

Signed-off-by: Kushal Pal <kushpal at qti.qualcomm.com>



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