This is an archive of the discontinued LLVM Phabricator instance.

Add support for MSVC's __FUNCSIG__
ClosedPublic

Authored by rnk on Apr 7 2014, 2:05 PM.

Details

Summary

It is very similar to GCC's PRETTY_FUNCTION, except it prints the
calling convention.

Diff Detail

Repository
rL LLVM

Event Timeline

majnemer accepted this revision.Apr 8 2014, 8:54 AM

LGTM

Note that there is a bit of divergence here with MSVC, we choose different names for the GlobalVariable holding the string constant.

I suppose it would be nicer for the names to match and fold but that is a relatively minor thing, nothing to hold up this patch.

rnk added a comment.Apr 8 2014, 11:19 AM

Thanks! I added a FIXME for the mangling thing. We want to make sure that FUNC* in inline functions gets merged.

rnk closed this revision.May 19 2014, 7:23 AM
rnk updated this revision to Diff 9535.

Closed by commit rL205780 (authored by @rnk).