[Lldb-commits] [lldb] r163250 - /lldb/trunk/scripts/clang.utfroutines.diff

Enrico Granata egranata at apple.com
Wed Sep 5 14:37:27 PDT 2012


Author: enrico
Date: Wed Sep  5 16:37:27 2012
New Revision: 163250

URL: http://llvm.org/viewvc/llvm-project?rev=163250&view=rev
Log:
Patch for clang to include the UTF conversion routines that LLDB needs

Added:
    lldb/trunk/scripts/clang.utfroutines.diff

Added: lldb/trunk/scripts/clang.utfroutines.diff
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/scripts/clang.utfroutines.diff?rev=163250&view=auto
==============================================================================
--- lldb/trunk/scripts/clang.utfroutines.diff (added)
+++ lldb/trunk/scripts/clang.utfroutines.diff Wed Sep  5 16:37:27 2012
@@ -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,





More information about the lldb-commits mailing list