[all-commits] [llvm/llvm-project] df8dda: Add methods to data extractor for extracting bytes...
Greg Clayton via All-commits
all-commits at lists.llvm.org
Mon Feb 24 14:17:49 PST 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: df8dda67ed03f7d7ba3d9475556ab01946386852
https://github.com/llvm/llvm-project/commit/df8dda67ed03f7d7ba3d9475556ab01946386852
Author: Greg Clayton <gclayton at fb.com>
Date: 2020-02-24 (Mon, 24 Feb 2020)
Changed paths:
M llvm/include/llvm/Support/DataExtractor.h
M llvm/lib/Support/DataExtractor.cpp
M llvm/unittests/Support/DataExtractorTest.cpp
Log Message:
-----------
Add methods to data extractor for extracting bytes and fixed length C strings.
Summary:
These modificaitons will be used in D74883.
Fixed length C strings can have trailing NULLs or sometimes spaces (BSD archive files), so the fixed length C string defaults to stripping trailing NULLs, but can have the arguments specify to remove one or more kinds of spaces if needed. This is used to extract fixed length C strings from ELF NOTEs in D74883.
Reviewers: labath, dblaikie, aprantl
Subscribers: hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D74991
More information about the All-commits
mailing list