[all-commits] [llvm/llvm-project] 47302a: [Orc] Skip sections with duplicate names in DebugO...

Stefan Gränitz via All-commits all-commits at lists.llvm.org
Fri Mar 31 01:17:47 PDT 2023

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 47302af71d57814469a3596c78381fc720ed130d
  Author: Stefan Gränitz <stefan.graenitz at gmail.com>
  Date:   2023-03-31 (Fri, 31 Mar 2023)

  Changed paths:
    M llvm/lib/ExecutionEngine/Orc/DebugObjectManagerPlugin.cpp

  Log Message:
  [Orc] Skip sections with duplicate names in DebugObjectManagerPlugin

Compiler-generated section names can clash. Examples are group sections or profile counter sections.
We don't need to abort debug registration for the entire LinkGraph in such a case.
Instead, let's skip the relevant sections and add a note to the debug log.

More information about the All-commits mailing list