[all-commits] [llvm/llvm-project] 4229d2: [JITLink] Add tests for FDEs with bad CIE and PC-b...

lhames via All-commits all-commits at lists.llvm.org
Wed Aug 3 17:53:16 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4229d2788b6eee3dee4c123455e7ca26371c611c
      https://github.com/llvm/llvm-project/commit/4229d2788b6eee3dee4c123455e7ca26371c611c
  Author: Lang Hames <lhames at gmail.com>
  Date:   2022-08-03 (Wed, 03 Aug 2022)

  Changed paths:
    A llvm/test/ExecutionEngine/JITLink/X86/MachO_ehframe_bad_fde_cie-ptr_out-of-range.test
    A llvm/test/ExecutionEngine/JITLink/X86/MachO_ehframe_bad_fde_pc-begin_out-of-range.test

  Log Message:
  -----------
  [JITLink] Add tests for FDEs with bad CIE and PC-begin pointers.


  Commit: b5f76d83ff8b57b2a6e4897beb388837803643da
      https://github.com/llvm/llvm-project/commit/b5f76d83ff8b57b2a6e4897beb388837803643da
  Author: Lang Hames <lhames at gmail.com>
  Date:   2022-08-03 (Wed, 03 Aug 2022)

  Changed paths:
    M llvm/include/llvm/ExecutionEngine/Orc/TargetProcess/JITLoaderGDB.h
    M llvm/tools/lli/lli.cpp
    M llvm/tools/llvm-jitlink/llvm-jitlink-executor/llvm-jitlink-executor.cpp
    M llvm/tools/llvm-jitlink/llvm-jitlink.cpp

  Log Message:
  -----------
  [ORC] Ensure that llvm_orc_registerJITLoaderGDBAllocAction is linked into tools.

Add a reference to llvm_orc_registerJITLoaderGDBAllocAction from the
linkComponents function in the lli, llvm-jitlink, and llvm-jitlink-executor
tools. This ensures that llvm_orc_registerJITLoaderGDBAllocAction is not
dead-stripped in optimized builds, which may cause failures in these tools.

The llvm_orc_registerJITLoaderGDBAllocAction function was originally added with
MachO debugging support in 69be352a1961a, but that patch failed to update the
linkComponents functions.

http://llvm.org/PR56817


Compare: https://github.com/llvm/llvm-project/compare/203296d642c3...b5f76d83ff8b


More information about the All-commits mailing list