mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-01-26 11:25:27 +00:00
Patch for clang to include the UTF conversion routines that LLDB needs
llvm-svn: 163250
This commit is contained in:
parent
c0f1a5e46e
commit
9b034c1558
12
lldb/scripts/clang.utfroutines.diff
Normal file
12
lldb/scripts/clang.utfroutines.diff
Normal file
@ -0,0 +1,12 @@
|
||||
Index: include/clang/Basic/ConvertUTF.h
|
||||
===================================================================
|
||||
--- include/clang/Basic/ConvertUTF.h (revision 152265)
|
||||
+++ include/clang/Basic/ConvertUTF.h (working copy)
|
||||
@@ -135,6 +135,7 @@
|
||||
const UTF8** sourceStart, const UTF8* sourceEnd,
|
||||
UTF32** targetStart, UTF32* targetEnd, ConversionFlags flags);
|
||||
|
||||
+#define CLANG_NEEDS_THESE_ONE_DAY // LLDB wants these functions
|
||||
#ifdef CLANG_NEEDS_THESE_ONE_DAY
|
||||
ConversionResult ConvertUTF16toUTF8 (
|
||||
const UTF16** sourceStart, const UTF16* sourceEnd,
|
Loading…
x
Reference in New Issue
Block a user