[PATCH] D41801: Fix pretty printing the unspecified param of a variadic function
Aaron Smith via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jan 5 19:53:55 PST 2018
asmith created this revision.
asmith added reviewers: zturner, llvm-commits.
- Fix a bug in PrettyBuiltinDumper that returns "void" as the name for an unspecified builtin type. Since the unspecified param of a variadic function is considered a builtin of unspecified type in PDBs, we set "..." for its name.
- Provide a way to determine if a PDBSymbolFunc is variadic in PrettyFunctionDumper. PDBSymbolFunc::getArgument() doesn't return the last unspecified-type param, so instead we check the function's signature which has the last param's information.
- Add a pretty-func-dumper.test to test pretty dumping of variadic functions.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 3432 bytes
Desc: not available
More information about the llvm-commits