[PATCH] D81185: [ELF] Adding accessor method for getting Note Desc as StringRef
Matt Arsenault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jun 5 06:34:10 PDT 2020
arsenm added inline comments.
================
Comment at: llvm/include/llvm/Object/ELFTypes.h:609
+ /// Get the note's descriptor as StringRef
+ StringRef getDescAsStringRef() const {
+ auto &Desc = getDesc();
----------------
I would move this below getDesc()
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D81185/new/
https://reviews.llvm.org/D81185
More information about the llvm-commits
mailing list