[all-commits] [llvm/llvm-project] f99737: [AMDGPU][MC] Corrected branch relocation handling ...

dpreobra via All-commits all-commits at lists.llvm.org
Mon May 18 04:07:42 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: f997370d9c8f4a67e495312078ca7b6dc2e94fa4
      https://github.com/llvm/llvm-project/commit/f997370d9c8f4a67e495312078ca7b6dc2e94fa4
  Author: Dmitry Preobrazhensky <dmitry.preobrazhensky at amd.com>
  Date:   2020-05-18 (Mon, 18 May 2020)

  Changed paths:
    M llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUELFObjectWriter.cpp
    A llvm/test/MC/AMDGPU/labels-branch-err.s

  Log Message:
  -----------
  [AMDGPU][MC] Corrected branch relocation handling to detect undefined labels

Fixed ELF object writer to die gracefully when an undefined label is encountered in a branch instruction.
See https://bugs.llvm.org/show_bug.cgi?id=41914.

Reviewers: arsenm, rampitec

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




More information about the All-commits mailing list