commit | e9f9a7e10ef6c159e6afb9f230ce216828d3282a | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Thu Sep 03 05:19:59 2009 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Thu Sep 03 05:19:59 2009 +0000 |
tree | 21d92d694370065da9d9bcf0fd131ad293bc2f7d | |
parent | 47548d33654a9b747adabfc20a88babeeede2912 [diff] |
In C++, code is not allowed to call main. In C it is, this simplifylibcalls optimization is thus valid for C++ but not C. It's not important enough to worry about for C++ apps, so just remove it. rdar://7191924 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80887 91177308-0d34-0410-b5e6-96231b3b80d8