diff options
| author | Rui Ueyama <ruiu@google.com> | 2016-06-29 08:01:32 +0000 |
|---|---|---|
| committer | Rui Ueyama <ruiu@google.com> | 2016-06-29 08:01:32 +0000 |
| commit | 93c9af425ed061b9ea0290253c40eb12e76ffe32 (patch) | |
| tree | decee8c6f5cb61952201fa311aa1f94ce968ee5b /lld/ELF/Strings.h | |
| parent | 518cbc7cc3ac8fbaf45073a3d2ed1379c2e356ee (diff) | |
| download | bcm5719-llvm-93c9af425ed061b9ea0290253c40eb12e76ffe32.tar.gz bcm5719-llvm-93c9af425ed061b9ea0290253c40eb12e76ffe32.zip | |
Create Strings.cpp and move string manipulation functions to that file.
llvm-svn: 274109
Diffstat (limited to 'lld/ELF/Strings.h')
| -rw-r--r-- | lld/ELF/Strings.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/lld/ELF/Strings.h b/lld/ELF/Strings.h new file mode 100644 index 00000000000..1930a0aab10 --- /dev/null +++ b/lld/ELF/Strings.h @@ -0,0 +1,23 @@ +//===- Strings.h ------------------------------------------------*- C++ -*-===// +// +// The LLVM Linker +// +// This file is distributed under the University of Illinois Open Source +// License. See LICENSE.TXT for details. +// +//===----------------------------------------------------------------------===// + +#ifndef LLD_COFF_STRINGS_H +#define LLD_COFF_STRINGS_H + +#include "lld/Core/LLVM.h" +#include <vector> + +namespace lld { +namespace elf { +bool globMatch(StringRef S, StringRef T); +std::vector<uint8_t> parseHex(StringRef S); +} +} + +#endif |

