On Linux platforms and at optimization levels -O1 and above, llvm-gcc can
authorReid Spencer <rspencer@reidspencer.com>
Sat, 19 May 2007 01:36:17 +0000 (01:36 +0000)
committerReid Spencer <rspencer@reidspencer.com>
Sat, 19 May 2007 01:36:17 +0000 (01:36 +0000)
commitcc442cabf6585084ae6238f8003c14e5ebc386f6
tree9127440f2529e0a9ff9b33c64493008749d8cea8
parent8a282967efead093e8be526d6997e446d6e09b86
On Linux platforms and at optimization levels -O1 and above, llvm-gcc can
turn "putchar" calls into _IO_putc calls which is a lower-level interface.
This patch allows these calls to be executed by lli in interpreter mode.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37254 91177308-0d34-0410-b5e6-96231b3b80d8
lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp