[all-commits] [llvm/llvm-project] 7150b5: Symbolicate aarch64 adrp+add pc-relative addr in d...

Jason Molenda via All-commits all-commits at lists.llvm.org
Thu Aug 12 14:44:31 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7150b562081ffb2ec5406edfa579b16d3ec20d90
      https://github.com/llvm/llvm-project/commit/7150b562081ffb2ec5406edfa579b16d3ec20d90
  Author: Jason Molenda <jason at molenda.com>
  Date:   2021-08-12 (Thu, 12 Aug 2021)

  Changed paths:
    M lldb/source/Plugins/Disassembler/LLVMC/DisassemblerLLVMC.cpp
    M lldb/source/Plugins/Disassembler/LLVMC/DisassemblerLLVMC.h
    A lldb/test/API/functionalities/disassemble/aarch64-adrp-add/TestAArch64AdrpAdd.py
    A lldb/test/API/functionalities/disassemble/aarch64-adrp-add/a.out-arm64.yaml
    A lldb/test/API/functionalities/disassemble/aarch64-adrp-add/a.out-arm64_32.yaml
    A lldb/test/API/functionalities/disassemble/aarch64-adrp-add/main.c

  Log Message:
  -----------
  Symbolicate aarch64 adrp+add pc-relative addr in disass

On aarch64 a two instruction sequence is used to calculate a
pc-relative address, add some state to the DisassemblerLLVMC
symbolicator so it can track the necessary data across the
two instructions and compute the address being calculated.

Differential Revision: https://reviews.llvm.org/D107213
rdar://49119253




More information about the All-commits mailing list