[all-commits] [llvm/llvm-project] e22f0d: [lldb/breakpad] Fix register resolution on arm

Pavel Labath via All-commits all-commits at lists.llvm.org
Thu Mar 26 05:54:07 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: e22f0dabcf976668d35595e17645095e97a8177a
      https://github.com/llvm/llvm-project/commit/e22f0dabcf976668d35595e17645095e97a8177a
  Author: Pavel Labath <pavel at labath.sk>
  Date:   2020-03-26 (Thu, 26 Mar 2020)

  Changed paths:
    M lldb/source/Plugins/SymbolFile/Breakpad/SymbolFileBreakpad.cpp
    A lldb/test/Shell/SymbolFile/Breakpad/Inputs/stack-cfi-arm.syms
    A lldb/test/Shell/SymbolFile/Breakpad/stack-cfi-arm.yaml

  Log Message:
  -----------
  [lldb/breakpad] Fix register resolution on arm

In breakpad, only x86 (and mips) registers have a leading '$' in their
names. Arm architectures use plain register names.

Previously, lldb was assuming all registers have a '$'. Fix the code to
match the (unfortunately, inconsistent) reality.




More information about the All-commits mailing list