[all-commits] [llvm/llvm-project] 07aa8f: [JITLink][COFF] Handle out-of-order COMDAT second ...

Sunho Kim via All-commits all-commits at lists.llvm.org
Mon Jul 25 07:05:33 PDT 2022

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 07aa8fc8db6b4b8581e0ba8ef4a66274023c0b59
  Author: Sunho Kim <ksunhokim123 at gmail.com>
  Date:   2022-07-25 (Mon, 25 Jul 2022)

  Changed paths:
    M llvm/lib/ExecutionEngine/JITLink/COFFLinkGraphBuilder.cpp
    M llvm/lib/ExecutionEngine/JITLink/COFFLinkGraphBuilder.h
    A llvm/test/ExecutionEngine/JITLink/X86/COFF_comdat_intervene.test

  Log Message:
  [JITLink][COFF] Handle out-of-order COMDAT second symbol.

Handle out-of-order COMDAT second symbols. In llvm codegen, the second symbol of COMDAT sequence always follows the first symbol in the global symbol list. But, when the object file came from MSVC compiler, these can come in out of order.

Reviewed By: lhames

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

More information about the All-commits mailing list