[Lldb-commits] [lldb] r124371 - /lldb/trunk/source/Symbol/ClangASTContext.cpp

Greg Clayton gclayton at apple.com
Thu Jan 27 01:15:12 PST 2011


Author: gclayton
Date: Thu Jan 27 03:15:11 2011
New Revision: 124371

URL: http://llvm.org/viewvc/llvm-project?rev=124371&view=rev
Log:
Improved support for GCC complex integers.


Modified:
    lldb/trunk/source/Symbol/ClangASTContext.cpp

Modified: lldb/trunk/source/Symbol/ClangASTContext.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Symbol/ClangASTContext.cpp?rev=124371&r1=124370&r2=124371&view=diff
==============================================================================
--- lldb/trunk/source/Symbol/ClangASTContext.cpp (original)
+++ lldb/trunk/source/Symbol/ClangASTContext.cpp Thu Jan 27 03:15:11 2011
@@ -688,7 +688,7 @@
 
         case DW_ATE_lo_user:
             // This has been seen to mean DW_AT_complex_integer
-            if (strcmp(type_name, "complex") == 0)
+            if (::strstr(type_name, "complex"))
             {
                 clang_type_t complex_int_clang_type = GetBuiltinTypeForDWARFEncodingAndBitSize ("int", DW_ATE_signed, bit_size/2);
                 return ast->getComplexType (QualType::getFromOpaquePtr(complex_int_clang_type)).getAsOpaquePtr();





More information about the lldb-commits mailing list