Skip to content
  1. Jul 12, 2012
  2. Jul 11, 2012
    • Chad Rosier's avatar
      Fixup broken doc link. Patch by Sean Silva <silvas@purdue.edu>. · 26b8e1d0
      Chad Rosier authored
      llvm-svn: 160082
      26b8e1d0
    • Jack Carter's avatar
      This change removes an "initialization" warning. · 42ebf98b
      Jack Carter authored
      Even though variable in question could not 
      be initialized before use, the code was such that 
      the compiler had no way of knowing that.
      
      llvm-svn: 160081
      42ebf98b
    • Jim Ingham's avatar
      If we hit a breakpoint but there's a thread specifier which doesn't match this... · 54cc6e40
      Jim Ingham authored
      If we hit a breakpoint but there's a thread specifier which doesn't match this thread, return no stop reason.
      
      llvm-svn: 160080
      54cc6e40
    • Jim Ingham's avatar
      Don't call DoOnRemoval if you are just peeking at events. · 63614c92
      Jim Ingham authored
      llvm-svn: 160079
      63614c92
    • Dmitri Gribenko's avatar
      Enable comment parsing and semantic analysis to emit diagnostics. A few · f26054f0
      Dmitri Gribenko authored
      diagnostics implemented -- see testcases.
      
      I created a new TableGen file for comment diagnostics,
      DiagnosticCommentKinds.td, because comment diagnostics don't logically
      fit into AST diagnostics file.  But I don't feel strongly about it.
      
      This also implements support for self-closing HTML tags in comment
      lexer and parser (for example, <br />).
      
      In order to issue precise diagnostics CommentSema needs to know the
      declaration the comment is attached to.  There is no easy way to find a decl by 
      comment, so we match comments and decls in lockstep: after parsing one
      declgroup we check if we have any new, not yet attached comments.  If we do --
      then we do the usual comment-finding process.
      
      It is interesting that this automatically handles trailing comments.
      We pick up not only comments that precede the declaration, but also
      comments that *follow* the declaration -- thanks to the lookahead in
      the lexer: after parsing the declgroup we've consumed the semicolon
      and looked ahead through comments.
      
      Added -Wdocumentation-html flag for semantic HTML errors to allow the user to 
      disable only HTML warnings (but not HTML parse errors, which we emit as
      warnings in -Wdocumentation).
      
      llvm-svn: 160078
      f26054f0
    • Sean Callanan's avatar
      Fixed a bug that caused the Process not to rebroadcast · a46ec453
      Sean Callanan authored
      the fact that a process exited while running a thread
      plan.  For example, if a user types the expression
      
      expr (void)exit(0)
      
      then the process terminates but LLDB does not notify
      listeners like Xcode that this occurred.
      
      <rdar://problem/11845155>
      
      llvm-svn: 160077
      a46ec453
    • Stepan Dyatkovskiy's avatar
      Fixed diff comparison. · 326edc57
      Stepan Dyatkovskiy authored
      llvm-svn: 160076
      326edc57
    • Argyrios Kyrtzidis's avatar
      In MemoryBuffer::getOpenFile() don't verify that the mmap'ed · f141156e
      Argyrios Kyrtzidis authored
      file buffer is null-terminated.
      
      If the file is smaller than we thought, mmap will not allow dereferencing
      past the pages that are enough to cover the actual file size,
      even though we asked for a larger address range.
      
      rdar://11612916
      
      llvm-svn: 160075
      f141156e
    • Argyrios Kyrtzidis's avatar
      Introduce a flag in SourceManager to treat non-system source files · 6d7833f1
      Argyrios Kyrtzidis authored
      as "volatile", meaning there's a high enough chance that they may
      change while we are trying to use them.
      
      This flag is only enabled by libclang.
      Currently "volatile" source files will be stat'ed immediately
      before opening them, because the file size stat info
      may not be accurate since when we got it (e.g. from the PCH).
      This avoids crashes when trying to reference mmap'ed memory
      from a file whose size is not what we expect.
      
      Note that there's still a window for a racing issue to occur
      but the window for it should be way smaller than before.
      We can consider later on to avoid mmap completely on such files.
      
      rdar://11612916
      
      llvm-svn: 160074
      6d7833f1
Loading