[PATCH] D145989: [Propeller][ELF] Add Doxygen comment for decodeBBAddrMap
Aiden Grossman via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Mar 13 15:16:50 PDT 2023
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rGf18915da1d64: [Propeller][ELF] Add Doxygen comment for decodeBBAddrMap (authored by aidengrossman).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D145989/new/
https://reviews.llvm.org/D145989
Files:
llvm/include/llvm/Object/ELF.h
Index: llvm/include/llvm/Object/ELF.h
===================================================================
--- llvm/include/llvm/Object/ELF.h
+++ llvm/include/llvm/Object/ELF.h
@@ -392,6 +392,11 @@
Expected<ArrayRef<T>> getSectionContentsAsArray(const Elf_Shdr &Sec) const;
Expected<ArrayRef<uint8_t>> getSectionContents(const Elf_Shdr &Sec) const;
Expected<ArrayRef<uint8_t>> getSegmentContents(const Elf_Phdr &Phdr) const;
+
+ /// Returns a vector of BBAddrMap structs corresponding to each function
+ /// within the text section that the SHT_LLVM_BB_ADDR_MAP section \p Sec
+ /// is associated with. If the current ELFFile is relocatable, a corresponding
+ /// \p RelaSec must be passed in as an argument.
Expected<std::vector<BBAddrMap>>
decodeBBAddrMap(const Elf_Shdr &Sec, const Elf_Shdr *RelaSec = nullptr) const;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D145989.504862.patch
Type: text/x-patch
Size: 841 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230313/47f69acf/attachment.bin>
More information about the llvm-commits
mailing list