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

Chris Lattner clattner at apple.com
Wed Sep 5 15:55:20 PDT 2012


On Sep 5, 2012, at 2:37 PM, Enrico Granata <egranata at apple.com> wrote:

> 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

Hi Enrico,

Can you talk to cfe-commits about having them turn this on in mainline clang?  LLDB is switching to use mainline llvm/clang, so carrying a local patch won't work.

-Chris

> 
> 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,
> 
> 
> _______________________________________________
> lldb-commits mailing list
> lldb-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/lldb-commits




More information about the lldb-commits mailing list