diff options
author | Zachary Turner <zturner@google.com> | 2017-04-25 20:21:35 +0000 |
---|---|---|
committer | Zachary Turner <zturner@google.com> | 2017-04-25 20:21:35 +0000 |
commit | e46b4498b8f11925986704196094eb6a89f6e3dc (patch) | |
tree | 37c5d2542da365ca1f66184ff66cb8cf223bf220 /llvm/lib/Object/WasmObjectFile.cpp | |
parent | 9b52d67e1729f5972cdd366c62f314de531c3f7d (diff) | |
download | llvm-e46b4498b8f11925986704196094eb6a89f6e3dc.zip llvm-e46b4498b8f11925986704196094eb6a89f6e3dc.tar.gz llvm-e46b4498b8f11925986704196094eb6a89f6e3dc.tar.bz2 |
[StringExtras] Add a fromHex to complement toHex.
We already have a function toHex that will convert a string like
"\xFF\xFF" to the string "FFFF", but we do not have one that goes
the other way - i.e. to convert a textual string representing a
sequence of hexadecimal characters into the corresponding actual
bytes. This patch adds such a function.
llvm-svn: 301356
Diffstat (limited to 'llvm/lib/Object/WasmObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions