[all-commits] [llvm/llvm-project] f66b9f: [crt] Remove __USER_LABEL_PREFIX__

Fangrui Song via All-commits all-commits at lists.llvm.org
Tue Mar 28 18:21:29 PDT 2023

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f66b9fe5876d670b38351c9a7efd90e793f35a30
  Author: Fangrui Song <i at maskray.me>
  Date:   2023-03-28 (Tue, 28 Mar 2023)

  Changed paths:
    M compiler-rt/lib/crt/crtbegin.c

  Log Message:
  [crt] Remove __USER_LABEL_PREFIX__

The .init_array code is ELF specific. For ELF platforms,
`__USER_LABEL_PREFIX__` is defined as "". Make the simplification
so that downstream ELF targets can build this file even if
`__USER_LABEL_PREFIX__` is undefined.

Reviewed By: barannikov88

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

More information about the All-commits mailing list