[all-commits] [llvm/llvm-project] e6c2c9: [lldb] [test] Fix DW_TAG_GNU_call_site-DW_AT_low_p...

Jan Kratochvil via All-commits all-commits at lists.llvm.org
Sun Aug 2 13:42:33 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: e6c2c9a7d15171a57c98024511eaa8885f1bd5fd
      https://github.com/llvm/llvm-project/commit/e6c2c9a7d15171a57c98024511eaa8885f1bd5fd
  Author: Jan Kratochvil <jan.kratochvil at redhat.com>
  Date:   2020-08-02 (Sun, 02 Aug 2020)

  Changed paths:
    M lldb/test/Shell/SymbolFile/DWARF/DW_TAG_GNU_call_site-DW_AT_low_pc.s

  Log Message:
  -----------
  [lldb] [test] Fix DW_TAG_GNU_call_site-DW_AT_low_pc.s relocation

I have made the DW_FORM_ref4 relative. One could also use relocated
DW_FORM_ref_addr instead.

Tested with:
        echo 'void f(){}'|clang -o 1.o -c -Wall -g -x c -;./bin/clang -o 1 1.o ../llvm-monorepo/lldb/test/Shell/SymbolFile/DWARF/DW_TAG_GNU_call_site-DW_AT_low_pc.s;./bin/lldb --no-lldbinit ./1 -o r -o 'p p' -o exit




More information about the All-commits mailing list