summaryrefslogtreecommitdiffstats
path: root/lld/COFF/Strings.h
diff options
context:
space:
mode:
Diffstat (limited to 'lld/COFF/Strings.h')
-rw-r--r--lld/COFF/Strings.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/lld/COFF/Strings.h b/lld/COFF/Strings.h
new file mode 100644
index 00000000000..1f85f3e2da5
--- /dev/null
+++ b/lld/COFF/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 "llvm/ADT/Optional.h"
+#include "llvm/ADT/StringRef.h"
+#include <string>
+
+namespace lld {
+namespace coff {
+llvm::Optional<std::string> demangle(llvm::StringRef S);
+}
+}
+
+#endif
OpenPOWER on IntegriCloud