[PATCH] MS inline asm: Allow __asm blocks to set a return value

Reid Kleckner rnk at google.com
Wed Sep 3 15:25:14 PDT 2014


  - Fix tests. This resulted in something horrible that I'm not happy with, but
    it works. We should try to figure out something better than rewriting the
    asm string with complex string matching.

http://reviews.llvm.org/D5177

Files:
  lib/CodeGen/CGStmt.cpp
  lib/CodeGen/CodeGenFunction.cpp
  lib/CodeGen/CodeGenFunction.h
  lib/CodeGen/TargetInfo.cpp
  lib/CodeGen/TargetInfo.h
  test/CodeGen/ms-inline-asm.c
  test/CodeGenCXX/ms-inline-asm-return.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D5177.13229.patch
Type: text/x-patch
Size: 13820 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140903/fdcb2a48/attachment.bin>


More information about the cfe-commits mailing list