diff options
| author | Chris Lattner <sabre@nondot.org> | 2009-09-03 05:19:59 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2009-09-03 05:19:59 +0000 |
| commit | 27266f164f55aa3efcc8268abd9cc5ae85bac7a4 (patch) | |
| tree | 093ece8980a422c17e79b69009e32bcfff51de13 /llvm/lib/Target/TargetSubtarget.cpp | |
| parent | 954b9cd41f3586eb9aca98d8cc9ed4d418f235af (diff) | |
| download | bcm5719-llvm-27266f164f55aa3efcc8268abd9cc5ae85bac7a4.tar.gz bcm5719-llvm-27266f164f55aa3efcc8268abd9cc5ae85bac7a4.zip | |
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
llvm-svn: 80887
Diffstat (limited to 'llvm/lib/Target/TargetSubtarget.cpp')
0 files changed, 0 insertions, 0 deletions

