[all-commits] [llvm/llvm-project] 45c7da: [PS4] Always enable the .debug_aranges section whe...

Matthew Voss via All-commits all-commits at lists.llvm.org
Tue Sep 20 14:47:44 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 45c7da241f124d49abdc0598d381d96d15918834
      https://github.com/llvm/llvm-project/commit/45c7da241f124d49abdc0598d381d96d15918834
  Author: Matthew Voss <matthew.voss at sony.com>
  Date:   2022-09-20 (Tue, 20 Sep 2022)

  Changed paths:
    M clang/lib/Driver/ToolChains/PS4CPU.cpp
    M clang/test/Driver/debug-options.c
    M clang/test/Driver/ps4-ps5-linker-jmc.c

  Log Message:
  -----------
  [PS4] Always enable the .debug_aranges section when using LTO

This flag enables the .debug_aranges section by passing a flag to LLD
and our internal linker. This also adds a new routine that will generate
the correct flag for our internal linker or set of flags for LLD when
given a list of LLVM options. That ensures multiple LLVM codegen options
can be passed to either linker consistently.

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




More information about the All-commits mailing list