[llvm-commits] CVS: llvm/lib/System/DynamicLibrary.cpp

2007-01-31 Thread Chris Lattner
Changes in directory llvm/lib/System: DynamicLibrary.cpp updated: 1.23 -> 1.24 --- Log message: silence warning --- Diffs of the changes: (+1 -0) DynamicLibrary.cpp |1 + 1 files changed, 1 insertion(+) Index: llvm/lib/System/DynamicLibrary.cpp diff -u llvm/lib/System/DynamicLibrary.

Re: [llvm-commits] CVS: llvm/lib/System/DynamicLibrary.cpp

2007-01-19 Thread Reid Spencer
Hi Gordon, On Fri, 2007-01-19 at 17:01 -0500, Gordon Henriksen wrote: > This bit: > > > > +#ifndef errno > > +EXPLICIT_SYMBOL(errno); > > +#endif > > > Is broken on Darwin. Sorry about that. I reverted that part of the patch. Reid. > > — Gordon > > > > > > On Jan 19, 2007, at 16

[llvm-commits] CVS: llvm/lib/System/DynamicLibrary.cpp

2007-01-19 Thread Reid Spencer
Changes in directory llvm/lib/System: DynamicLibrary.cpp updated: 1.22 -> 1.23 --- Log message: Unbreak Darwin. --- Diffs of the changes: (+0 -3) DynamicLibrary.cpp |3 --- 1 files changed, 3 deletions(-) Index: llvm/lib/System/DynamicLibrary.cpp diff -u llvm/lib/System/DynamicLibrar

Re: [llvm-commits] CVS: llvm/lib/System/DynamicLibrary.cpp

2007-01-19 Thread Gordon Henriksen
This bit: +#ifndef errno +EXPLICIT_SYMBOL(errno); +#endif Is broken on Darwin. — Gordon On Jan 19, 2007, at 16:41, Reid Spencer wrote: Changes in directory llvm/lib/System: DynamicLibrary.cpp updated: 1.21 -> 1.22 --- Log message: Help the lli interpreter find the stderr/stdin/st

[llvm-commits] CVS: llvm/lib/System/DynamicLibrary.cpp

2007-01-19 Thread Reid Spencer
Changes in directory llvm/lib/System: DynamicLibrary.cpp updated: 1.21 -> 1.22 --- Log message: Help the lli interpreter find the stderr/stdin/stdout symbols. These are needed for output to be generated. On Linux these are both global vars and macro definitions so we have to special case Linux.

[llvm-commits] CVS: llvm/lib/System/DynamicLibrary.cpp

2007-01-19 Thread Reid Spencer
Changes in directory llvm/lib/System: DynamicLibrary.cpp updated: 1.20 -> 1.21 --- Log message: Handle each of stderr/stdin/stdout separately. --- Diffs of the changes: (+4 -0) DynamicLibrary.cpp |4 1 files changed, 4 insertions(+) Index: llvm/lib/System/DynamicLibrary.cpp diff

Re: [llvm-commits] CVS: llvm/lib/System/DynamicLibrary.cpp

2007-01-10 Thread Jim Laskey
Very Timely. grr. Cheers, -- Jim On 10-Jan-07, at 8:35 PM, Reid Spencer wrote: > > > Changes in directory llvm/lib/System: > > DynamicLibrary.cpp updated: 1.19 -> 1.20 > --- > Log message: > > Avoid taking the address of a macro by checking to see if stdin is > defined > or not. This a

[llvm-commits] CVS: llvm/lib/System/DynamicLibrary.cpp

2007-01-10 Thread Reid Spencer
Changes in directory llvm/lib/System: DynamicLibrary.cpp updated: 1.19 -> 1.20 --- Log message: Avoid taking the address of a macro by checking to see if stdin is defined or not. This allows DynamicLibrary.cpp to compile on Darwin. --- Diffs of the changes: (+4 -0) DynamicLibrary.cpp |

[llvm-commits] CVS: llvm/lib/System/DynamicLibrary.cpp

2007-01-10 Thread Reid Spencer
Changes in directory llvm/lib/System: DynamicLibrary.cpp updated: 1.18 -> 1.19 --- Log message: Allow LLI, in interpreter mode, to find stdin, stdout, and stderr. This is a bit of a hack but it lets some of the llvm-test programs run. --- Diffs of the changes: (+12 -2) DynamicLibrary.cpp |

Re: [llvm-commits] CVS: llvm/lib/System/DynamicLibrary.cpp

2006-08-30 Thread Reid Spencer
Oops! On Wed, 2006-08-30 at 15:37 -0500, Chris Lattner wrote: > > Changes in directory llvm/lib/System: > > DynamicLibrary.cpp updated: 1.17 -> 1.18 > --- > Log message: > > Guess what happens when asserts are disabled. :( > > Also, the assert could never fire due to || instead of &&. > > >

[llvm-commits] CVS: llvm/lib/System/DynamicLibrary.cpp

2006-08-30 Thread Chris Lattner
Changes in directory llvm/lib/System: DynamicLibrary.cpp updated: 1.17 -> 1.18 --- Log message: Guess what happens when asserts are disabled. :( Also, the assert could never fire due to || instead of &&. --- Diffs of the changes: (+2 -1) DynamicLibrary.cpp |3 ++- 1 files changed, 2

[llvm-commits] CVS: llvm/lib/System/DynamicLibrary.cpp README.txt

2006-08-25 Thread Reid Spencer
Changes in directory llvm/lib/System: DynamicLibrary.cpp updated: 1.16 -> 1.17 README.txt updated: 1.6 -> 1.7 --- Log message: For PR797: http://llvm.org/PR797 : Final commit for this bug. This removes the last EH holdouts in LLVM and turns off exception support by using the -fno-exceptions opt

[llvm-commits] CVS: llvm/lib/System/DynamicLibrary.cpp

2006-07-07 Thread Chris Lattner
Changes in directory llvm/lib/System: DynamicLibrary.cpp updated: 1.14 -> 1.15 --- Log message: Change LoadLibraryPermanently to not throw an exception. --- Diffs of the changes: (+13 -7) DynamicLibrary.cpp | 20 +--- 1 files changed, 13 insertions(+), 7 deletions(-) In

[llvm-commits] CVS: llvm/lib/System/DynamicLibrary.cpp

2006-05-14 Thread Chris Lattner
Changes in directory llvm/lib/System: DynamicLibrary.cpp updated: 1.13 -> 1.14 --- Log message: Bug noticed, by inspection. Filename can be null. --- Diffs of the changes: (+2 -1) DynamicLibrary.cpp |3 ++- 1 files changed, 2 insertions(+), 1 deletion(-) Index: llvm/lib/System/Dynam

[llvm-commits] CVS: llvm/lib/System/DynamicLibrary.cpp

2006-05-12 Thread Chris Lattner
Changes in directory llvm/lib/System: DynamicLibrary.cpp updated: 1.12 -> 1.13 --- Log message: Fix iterator invalidation bug, identified by Coverity. --- Diffs of the changes: (+1 -0) DynamicLibrary.cpp |1 + 1 files changed, 1 insertion(+) Index: llvm/lib/System/DynamicLibrary.cpp

[llvm-commits] CVS: llvm/lib/System/DynamicLibrary.cpp

2006-01-29 Thread Jeff Cohen
Changes in directory llvm/lib/System: DynamicLibrary.cpp updated: 1.11 -> 1.12 --- Log message: Add AddSymbol() method to DynamicLibrary to work around Windows limitation of being unable to search for symbols in an EXE. It will also allow other existing hacks to be improved. --- Diffs of the