[PATCH] D29441: [Assembler] Enable nicer diagnostics for inline assembly.

Sanne Wouda via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 7 07:11:03 PST 2017


sanwou01 updated this revision to Diff 87428.
sanwou01 added a comment.

Address reviewers' comments.

I took the opportunity to clean up the initialisation of DiagInfo (which now
includes the SourceMgr).  As suggested by @rnk the values in DiagInfo (except
for LocInfo) are set only once.


https://reviews.llvm.org/D29441

Files:
  include/llvm/CodeGen/AsmPrinter.h
  include/llvm/MC/MCContext.h
  include/llvm/MC/MCParser/MCAsmParser.h
  lib/CodeGen/AsmPrinter/AsmPrinterInlineAsm.cpp
  lib/MC/MCContext.cpp
  lib/MC/MCParser/AsmParser.cpp
  test/Assembler/inline-asm-diags.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D29441.87428.patch
Type: text/x-patch
Size: 9152 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170207/57041333/attachment.bin>


More information about the llvm-commits mailing list