1. Aug 23, 2011
  2. Aug 22, 2011
    • Fariborz Jahanian's avatar
      Restore patch I reversed in r138040. Known buildbot · 8d382dc7
      Fariborz Jahanian authored
      failures are resolved.
      
      llvm-svn: 138234
      8d382dc7
    • Duncan Sands's avatar
      Testcase for PR10663. · b40654e2
      Duncan Sands authored
      llvm-svn: 138231
      b40654e2
    • Jay Foad's avatar
      Remove DEFINE_TRANSPARENT_CASTED_OPERAND_ACCESSORS, folding its · b613c461
      Jay Foad authored
      functionality into DEFINE_TRANSPARENT_OPERAND_ACCESSORS. A side-effect
      of this is that the operand accessors for Constants will tolerate NULL
      operands, fixing PR10663.
      
      llvm-svn: 138230
      b613c461
    • Greg Clayton's avatar
      Added a new plug-in type: lldb_private::OperatingSystem. The operating system · 56d9a1b3
      Greg Clayton authored
      plug-ins are add on plug-ins for the lldb_private::Process class that can add
      thread contexts that are read from memory. It is common in kernels to have
      a lot of threads that are not currently executing on any cores (JTAG debugging
      also follows this sort of thing) and are context switched out whose state is
      stored in memory data structures. Clients can now subclass the OperatingSystem
      plug-ins and then make sure their Create functions correcltly only enable 
      themselves when the right binary/target triple are being debugged. The 
      operating system plug-ins get a chance to attach themselves to processes just
      after launching or attaching and are given a lldb_private::Process object 
      pointer which can be inspected to see if the main executable, target triple,
      or any shared  libraries match a case where the OS plug-in should be used.
      Currently the OS plug-ins can create new threads, define the register contexts
      for these threads (which can all be different if desired), and populate and
      manage the thread info (stop reason, registers in the register context) as
      the debug session goes on.
      
      llvm-svn: 138228
      56d9a1b3
    • Zhongxing Xu's avatar
      Fix typo. · aec683af
      Zhongxing Xu authored
      llvm-svn: 138227
      aec683af
    • Argyrios Kyrtzidis's avatar
      Fix gcc build. · 8d32f754
      Argyrios Kyrtzidis authored
      llvm-svn: 138226
      8d32f754
    • Argyrios Kyrtzidis's avatar
      Boost the efficiency of SourceManager::getMacroArgExpandedLocation. · 61ef3db2
      Argyrios Kyrtzidis authored
      Currently getMacroArgExpandedLocation is very inefficient and for the case
      of a location pointing at the main file it will end up checking almost all of
      the SLocEntries. Make it faster:
      
      -Use a map of macro argument chunks to their expanded source location. The map
       is for a single source file, it's stored in the file's ContentCache and lazily
       computed, like the source lines cache.
      -In SLocEntry's FileInfo add an 'unsigned NumCreatedFIDs' field that keeps track
       of the number of FileIDs (files and macros) that were created during preprocessing
       of that particular file SLocEntry. This is useful when computing the macro argument
       map in skipping included files while scanning for macro arg FileIDs that lexed from
       a specific source file. Due to padding, the new field does not increase the size
       of SLocEntry.
      
      llvm-svn: 138225
      61ef3db2
    • Jordy Rose's avatar
      [analyzer] Migrate the aliasing effects of CFRetain and CFMakeCollectable from... · 898a148d
      Jordy Rose authored
      [analyzer] Migrate the aliasing effects of CFRetain and CFMakeCollectable from CFRefCount to RetainReleaseChecker. No intended functionality change.
      
      llvm-svn: 138223
      898a148d
    • Jordy Rose's avatar
      [analyzer] Remove FIXME; Ted reminded me that -init is not guaranteed to... · 6582dde5
      Jordy Rose authored
      [analyzer] Remove FIXME; Ted reminded me that -init is not guaranteed to return its receiver and pretending that it does won't actually buy us anything. (Comment change only.)
      
      llvm-svn: 138221
      6582dde5
    • Jordy Rose's avatar
      [analyzer] Migrate return value handling from CFRefCount to ExprEngine. This... · 3f7f7568
      Jordy Rose authored
      [analyzer] Migrate return value handling from CFRefCount to ExprEngine. This seems to result in a minor performance hit, but I think that will go away again once we eliminate TransferFuncs from function calls entirely.
      
      llvm-svn: 138220
      3f7f7568
  3. Aug 21, 2011
  4. Aug 20, 2011