[all-commits] [llvm/llvm-project] b7084d: [ELF] Fixing an issue in Elf_Note_Impl::getDescAsS...

dkbhaskaran via All-commits all-commits at lists.llvm.org
Tue Jun 16 03:09:00 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: b7084d8ede1b0c16d3426dede53ed5ce62242c42
      https://github.com/llvm/llvm-project/commit/b7084d8ede1b0c16d3426dede53ed5ce62242c42
  Author: Dineshkumar Bhaskaran <dineshkumar.bhaskaran at amd.com>
  Date:   2020-06-16 (Tue, 16 Jun 2020)

  Changed paths:
    M llvm/include/llvm/Object/ELFTypes.h
    M llvm/unittests/Object/CMakeLists.txt
    A llvm/unittests/Object/ELFTypesTest.cpp

  Log Message:
  -----------
  [ELF] Fixing an issue in Elf_Note_Impl::getDescAsStringRef

Summary:
Fix in getDescAsStringRef to not use a reference to a
temporary type and added a testcase.

Reviewers: arsenm, saiislam, scott.linder

Reviewed By: scott.linder

Subscribers: wdng, mgorny, llvm-commits

Tags: #llvm

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




More information about the All-commits mailing list