[all-commits] [llvm/llvm-project] 2272ec: [JITLink][MachO] Fix "find-symbol-by-address" logic.

lhames via All-commits all-commits at lists.llvm.org
Fri Nov 12 21:28:57 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2272ec1c63893e370e7dea8b946843d8d433d458
      https://github.com/llvm/llvm-project/commit/2272ec1c63893e370e7dea8b946843d8d433d458
  Author: Lang Hames <lhames at gmail.com>
  Date:   2021-11-12 (Fri, 12 Nov 2021)

  Changed paths:
    M llvm/lib/ExecutionEngine/JITLink/MachOLinkGraphBuilder.cpp
    M llvm/lib/ExecutionEngine/JITLink/MachOLinkGraphBuilder.h
    M llvm/lib/ExecutionEngine/JITLink/MachO_arm64.cpp
    M llvm/lib/ExecutionEngine/JITLink/MachO_x86_64.cpp
    A llvm/test/ExecutionEngine/JITLink/X86/MachO_lookup_section_end_by_address.s

  Log Message:
  -----------
  [JITLink][MachO] Fix "find-symbol-by-address" logic.

Only search within the requested section, and allow one-past-then-end addresses.

This is needed to support section-end-address references to sections with no
symbols in them.




More information about the All-commits mailing list