diff options
author | Nico Weber <nicolasweber@gmx.de> | 2014-09-19 23:07:12 +0000 |
---|---|---|
committer | Nico Weber <nicolasweber@gmx.de> | 2014-09-19 23:07:12 +0000 |
commit | d191063c6c507aa24bc1d2346b17966aac4a734b (patch) | |
tree | bb102411c87aecf9f1b29db1917c9219d8cb6192 /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp | |
parent | de0253791cfadd186b904f75c406d4fdcbf58899 (diff) | |
download | llvm-d191063c6c507aa24bc1d2346b17966aac4a734b.zip llvm-d191063c6c507aa24bc1d2346b17966aac4a734b.tar.gz llvm-d191063c6c507aa24bc1d2346b17966aac4a734b.tar.bz2 |
Follow-up to r214408: Warn on other callee-cleanup functions without prototype too.
According to lore, we used to verifier-fail on:
void __thiscall f();
int main() { f(1); }
So that's fixed now. System headers use prototype-less __stdcall functions,
so make that a warning that's DefaultError -- then it fires on regular code
but is suppressed in system headers.
Since it's used in system headers, we have codegen tests for this; massage
them slightly so that they still compile.
llvm-svn: 218166
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp')
0 files changed, 0 insertions, 0 deletions