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

Richard Smith richard at metafoo.co.uk
Wed Sep 3 15:07:30 PDT 2014


I think this should do the right thing for `int main`; we store the implicit `0` into the return value at the start of the function, so the asm should overwrite it. But a test would be great too :)

http://reviews.llvm.org/D5177






More information about the cfe-commits mailing list