[all-commits] [llvm/llvm-project] 49e20c: [RISCV] Consume error from parsing attributes section

Jessica Clarke via All-commits all-commits at lists.llvm.org
Fri Apr 10 07:06:32 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 49e20c4c9efe1c0e74f9c0dc224a8014b93faa3c
      https://github.com/llvm/llvm-project/commit/49e20c4c9efe1c0e74f9c0dc224a8014b93faa3c
  Author: Jessica Clarke <jrtc27 at jrtc27.com>
  Date:   2020-04-10 (Fri, 10 Apr 2020)

  Changed paths:
    M llvm/lib/Object/ELFObjectFile.cpp

  Log Message:
  -----------
  [RISCV] Consume error from parsing attributes section

Summary:
We don't consume the error from getBuildAttributes, so an assertions
build crashes with "Program aborted due to an unhandled Error:".
Explicitly consume it like the ARM version in that case.

Reviewers: asb, jhenderson, MaskRay, HsiangKai

Reviewed By: MaskRay

Subscribers: kristof.beyls, hiraditya, simoncook, kito-cheng, shiva0217, rogfer01, rkruppe, psnobl, benna, Jim, lenary, s.egerton, sameer.abuasal, luismarques, evandro, danielkiss, llvm-commits

Tags: #llvm

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




More information about the All-commits mailing list