[all-commits] [llvm/llvm-project] 9f8891: [dsymutil] Avoid relocating DW_AT_call_pc twice

Vedant Kumar via All-commits all-commits at lists.llvm.org
Thu May 7 10:37:16 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 9f889125abbf8b99450cff7026041932228e9c95
      https://github.com/llvm/llvm-project/commit/9f889125abbf8b99450cff7026041932228e9c95
  Author: Vedant Kumar <vsk at apple.com>
  Date:   2020-05-07 (Thu, 07 May 2020)

  Changed paths:
    M llvm/lib/DWARFLinker/DWARFLinker.cpp
    A llvm/test/tools/dsymutil/ARM/call-pc-reloc.test
    A llvm/test/tools/dsymutil/Inputs/private/tmp/call_pc/main.arm64
    A llvm/test/tools/dsymutil/Inputs/private/tmp/call_pc/main.arm64.o

  Log Message:
  -----------
  [dsymutil] Avoid relocating DW_AT_call_pc twice

Summary:
Avoid relocating DW_AT_call_pc, e.g. when a call PC is equal to the
function's low_pc as is the case in the test:

```
__Z5func1v:
0000000100007f94        b       __Z5func2v
```

rdar://62952440

Reviewers: friss, JDevlieghere

Subscribers: hiraditya, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D79536




More information about the All-commits mailing list