[all-commits] [llvm/llvm-project] 601ec1: [Binary] Add iterator to the OffloadBinary string ...
Joseph Huber via All-commits
all-commits at lists.llvm.org
Wed Jun 15 09:24:42 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 601ec17d547bf2dc03565b541bae8ec069fbd22b
https://github.com/llvm/llvm-project/commit/601ec17d547bf2dc03565b541bae8ec069fbd22b
Author: Joseph Huber <jhuber6 at vols.utk.edu>
Date: 2022-06-15 (Wed, 15 Jun 2022)
Changed paths:
M llvm/include/llvm/Object/OffloadBinary.h
Log Message:
-----------
[Binary] Add iterator to the OffloadBinary string maps
The offload binary contains internally a string map of all the key and
value pairs identified in the binary itself. Normally users query these
values from the `getString` function, but this makes it difficult to
identify which strings are availible. This patch adds a simple const
iterator range to the offload binary allowing users to iterate through
the strings.
Reviewed By: tra
Differential Revision: https://reviews.llvm.org/D127774
More information about the All-commits
mailing list