Skip to content
  1. Sep 27, 2010
  2. Sep 25, 2010
  3. Sep 24, 2010
    • Johnny Chen's avatar
      Added comments about the usage of int(string, 0) and long(string, 0) which pass · 264d6592
      Johnny Chen authored
      a base of 0 so that the radix of the string is determined based on the contents
      of string.
      
      llvm-svn: 114764
      264d6592
    • Johnny Chen's avatar
      Added two new .cpp files to be tested via TestBasicTypes.py for correct display · c01b78e7
      Johnny Chen authored
      of various combinations of data structures with unsigned int or unsigned long
      builtin types.
      
      llvm-svn: 114756
      c01b78e7
    • Johnny Chen's avatar
      61464fa6
    • Greg Clayton's avatar
      Added the ability to create an objective C method for an objective C · 0fffff58
      Greg Clayton authored
      interface in ClangASTContext. Also added two bool returning functions that
      indicated if an opaque clang qual type is a CXX class type, and if it is an
      ObjC class type.
      
      Objective C classes now will get their methods added lazily as they are
      encountered. The reason for this is currently, unlike C++, the 
      DW_TAG_structure_type and owns the ivars, doesn't not also contain the
      member functions. This means when we parse the objective C class interface
      we either need to find all functions whose names start with "+[CLASS_NAME"
      or "-[CLASS_NAME" and add them all to the class, or when we parse each objective
      C function, we slowly add it to the class interface definition. Since objective
      C's class doesn't change internal bits according to whether it has certain types
      of member functions (like C++ does if it has virtual functions, or if it has
      user ctors/dtors), I currently chose to lazily populate the class when each
      functions is parsed. Another issue we run into with ObjC method declarations
      is the "self" and "_cmd" implicit args are not marked as artificial in the
      DWARF (DW_AT_artifical), so we currently have to look for the parameters by
      name if we are trying to omit artificial function args if the language of the
      compile unit is ObjC or ObjC++.
      
      llvm-svn: 114722
      0fffff58
    • Johnny Chen's avatar
      Added a generic_type_tester() to the TestBasicTypes class to be used for · b052f6c5
      Johnny Chen authored
      testing various combinations of displaying variales of basic types.
      
      The generic_type_tester() works by first capturing the golden output produced
      by the printf stmts of ./a.out, creating a list of (var, value) pairs, and then
      running the a.out to a stop point, and comparing the 'frame variable var' output
      against the list of (var, value) pairs.
      
      Modified int_type() and added long_type() to use generic_type_tester().
      
      Also modified TestBase.expect() such that substring matching also return ok if
      the substring starts at the 0-th position.
      
      llvm-svn: 114708
      b052f6c5
  4. Sep 23, 2010
  5. Sep 22, 2010
Loading