Fix in getDescAsStringRef to not use a reference to a
temporary type and added a testcase.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D81653
[ELF] Fixing an issue in Elf_Note_Impl::getDescAsStringRef ClosedPublic Authored by dbhaskaran on Jun 11 2020, 7:01 AM.
Details Summary Fix in getDescAsStringRef to not use a reference to a
Diff Detail
Event Timelinescott.linder added inline comments.
This revision is now accepted and ready to land.Jun 11 2020, 2:22 PM Closed by commit rGb7084d8ede1b: [ELF] Fixing an issue in Elf_Note_Impl::getDescAsStringRef (authored by dineshkb-amd, committed by saiislam). · Explain WhyJun 16 2020, 3:17 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 271013 llvm/include/llvm/Object/ELFTypes.h
llvm/unittests/Object/CMakeLists.txt
llvm/unittests/Object/ELFTypesTest.cpp
|
Could you just use the full type here?