Skip to content
  • Greg Clayton's avatar
    Added support for the new ".apple_objc" accelerator tables. These tables are · 5009f9d5
    Greg Clayton authored
    in the same hashed format as the ".apple_names", but they map objective C
    class names to all of the methods and class functions. We need to do this 
    because in the DWARF the methods for Objective C are never contained in the
    class definition, they are scattered about at the translation unit level and
    they don't even have attributes that say the are contained within the class
    itself. 
    
    Added 3 new formats which can be used to display data:
    
        eFormatAddressInfo
        eFormatHexFloat
        eFormatInstruction
        
    eFormatAddressInfo describes an address such as function+offset and file+line,
    or symbol + offset, or constant data (c string, 2, 4, 8, or 16 byte constants).
    The format character for this is "A", the long format is "address".
    
    eFormatHexFloat will print out the hex float format that compilers tend to use.
    The format character for this is "X", the long format is "hex float".
    
    eFormatInstruction will print out disassembly with bytes and it will use the
    current target's architecture. The format character for this is "i" (which
    used to be being used for the integer format, but the integer format also has
    "d", so we gave the "i" format to disassembly), the long format is 
    "instruction".
    
    Mate the lldb::FormatterChoiceCriterion enumeration private as it should have
    been from the start. It is very specialized and doesn't belong in the public 
    API.
    
    llvm-svn: 143114
    5009f9d5
Loading