1. Jun 18, 2016
    • Reid Kleckner's avatar
      [codeview] Make function names more consistent with MSVC · ac945e27
      Reid Kleckner authored
      Names in function id records don't include nested name specifiers or
      template arguments, but names in the symbol stream include both.
      
      For the symbol stream, instead of having Clang put the fully qualified
      name in the subprogram display name, recreate it from the subprogram
      scope chain. For the type stream, take the unqualified name and chop of
      any template arguments.
      
      This makes it so that CodeView DI metadata is more similar to DWARF DI
      metadata.
      
      llvm-svn: 273009
      ac945e27
    • Reid Kleckner's avatar
      [codeview] Stop emitting fully qualified subprogram display names · 829398e5
      Reid Kleckner authored
      This effectively reverts r255744, and leaves the printing option tweaks.
      
      We can add the name qualifiers easily in the backend.
      
      llvm-svn: 273008
      829398e5
    • Nirav Dave's avatar
      Refactor and cleanup Assembly Parsing / Lexing · fd91041c
      Nirav Dave authored
      Recommiting after fixing non-atomic insert to front of SmallVector in
      MCAsmLexer.h
      
      Add explicit Comment Token in Assembly Lexing for future support for
      outputting explicit comments from inline assembly. As part of this,
      CPPHash Directives are now explicitly distinguished from Hash line
      comments in Lexer.
      
      Line comments are recorded as EndOfStatement tokens, not Comment tokens
      to simplify compatibility with current TargetParsers. This slightly
      complicates comment output.
      
      This remove all lexing tasks out of the parser, does minor cleanup
      to remove extraneous newlines Asm Output, and some improvements white
      space handling.
      
      Reviewers: rtrieu, dwmw2, rnk
      
      Subscribers: llvm-commits
      
      Differential Revision: http://reviews.llvm.org/D20009
      
      llvm-svn: 273007
      fd91041c
  2. Jun 17, 2016