Skip to content
  1. Aug 22, 2011
    • Dan Gohman's avatar
      Make a few tests slightly more strict. · bce94fde
      Dan Gohman authored
      llvm-svn: 138241
      bce94fde
    • Nico Weber's avatar
      Warn on missing [super dealloc] calls. · 715abaf2
      Nico Weber authored
      This matches gcc's logic. Half of PR10661.
      
      llvm-svn: 138240
      715abaf2
    • Chandler Carruth's avatar
      Fix a crash-on-valid that has been here for a very long time: · 41c6dcc7
      Chandler Carruth authored
        const int &x = x;
      
      This crashed by inifinetly recursing within the lvalue evaluation
      routine. I've added a (somewhat) braindead way of preventing this
      recursion. If folks have better suggestions for how to avoid it I'm all
      ears.
      
      That said, we have some work to do. This doesn't trigger a single
      warning for uninitialized, self-initialized or otherwise completely
      wrong code. In some senses, the crash was almost better.
      
      llvm-svn: 138239
      41c6dcc7
    • Fariborz Jahanian's avatar
      objc- checking for objc decl context range is unreliable and · 899c3652
      Fariborz Jahanian authored
      subject to change. Check for equality instead.
      
      llvm-svn: 138238
      899c3652
    • Enrico Granata's avatar
      Fixing a startup error · 23e578c9
      Enrico Granata authored
      llvm-svn: 138237
      23e578c9
    • Enrico Granata's avatar
      5a61fc0d
    • Argyrios Kyrtzidis's avatar
      Fix a bug in objc @encoding of C++ classes. · c7e50c5c
      Argyrios Kyrtzidis authored
      llvm-svn: 138235
      c7e50c5c
    • 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
  2. Aug 21, 2011
  3. Aug 20, 2011
Loading