- Mar 07, 2009
-
-
Gabor Greif authored
llvm-svn: 66336
-
Gabor Greif authored
llvm-svn: 66333
-
Gabor Greif authored
from SymbolTableListTraits' clients, and intead request a nice declarative interface. Cleans up an IMHO ugly wart. llvm-svn: 66331
-
Chris Lattner authored
signal handlers to prevent reentrance on unrelated things (a sigabort where the handle bus errors) also, clear the signal mask so that the signal doesn't infinitely reissue. This fixes rdar://6654827 - Crash causes clang to loop llvm-svn: 66330
-
Nate Begeman authored
1. When the JIT is asked to remove a function, updating it's mapping to 0, we invalidate any function stubs used only by that function. Now, also invalidate the JIT's mapping from the GV the stub pointed to, to the address of the GV. 2. When dlsym stubs for cross-process JIT are enabled, do not abort just because a named function cannot be found in the JIT's process. 3. Fix various assumptions about when it is ok to use the lazy resolver when non-lazy JITing is enabled. llvm-svn: 66324
-
Dan Gohman authored
the same say the "test" instruction does in overflow cases, so eliminating the test is only safe when those bits aren't needed, as is the case for COND_E and COND_NE, or if it can be proven that no overflow will occur. For now, just restrict the optimization to COND_E and COND_NE and don't do any overflow analysis. llvm-svn: 66318
-
Evan Cheng authored
If ARCH is x86_64, pass -m64 to the host compiler. -m32 for i386. This makes sure the JIT work correctly. llvm-svn: 66315
-
- Mar 06, 2009
-
-
Daniel Dunbar authored
- Names are lame, but it seems better to be explicit. llvm-svn: 66295
-
Daniel Dunbar authored
llvm-svn: 66294
-
Daniel Dunbar authored
table. - No functionality change. llvm-svn: 66289
-
Dale Johannesen authored
an optimization. llvm-svn: 66288
-
Tanya Lattner authored
llvm-svn: 66280
-
Dan Gohman authored
llvm-svn: 66279
-
Mikhail Glushenkov authored
llvm-svn: 66278
-
Chris Lattner authored
llvm-svn: 66274
-
Chris Lattner authored
llvm-svn: 66273
-
Chris Lattner authored
Lennart Augustsson! llvm-svn: 66272
-
Mikhail Glushenkov authored
llvm-svn: 66269
-
Mikhail Glushenkov authored
llvm-svn: 66268
-
Duncan Sands authored
to find a tiny mouse hole to squeeze through, it struck me that globals without a name can be considered internal since they can't be referenced from outside the current module. This patch makes GlobalOpt give them internal linkage. Also done for aliases even though they always have names, since in my opinion anonymous aliases should be allowed for consistency with global variables and functions. So if that happens one day, this code is ready! llvm-svn: 66267
-
Chris Lattner authored
llvm-svn: 66264
-
Devang Patel authored
llvm-svn: 66262
-
Chris Lattner authored
get nice and happy stack traces when we crash in an optimizer or codegen. For example, an abort put in UnswitchLoops now looks like this: Stack dump: 0. Program arguments: clang pr3399.c -S -O3 1. <eof> parser at end of file 2. per-module optimization passes 3. Running pass 'CallGraph Pass Manager' on module 'pr3399.c'. 4. Running pass 'Loop Pass Manager' on function '@foo' 5. Running pass 'Unswitch loops' on basic block '%for.inc' Abort llvm-svn: 66260
-
Zhou Sheng authored
IntrNoMem. llvm-svn: 66256
-
Devang Patel authored
llvm-svn: 66255
-
Chris Lattner authored
llvm-svn: 66254
-
Chris Lattner authored
llvm-svn: 66252
-
Chris Lattner authored
their main routines. This makes the tools print their argc/argv commands if they crash. llvm-svn: 66248
-
Devang Patel authored
llvm-svn: 66245
-
Devang Patel authored
llvm-svn: 66244
-
Gordon Henriksen authored
llvm-svn: 66242
-
Dan Gohman authored
with multiple chain operands. This can occur when the scheduler has added chain operands to a node that already has a chain operand, in order to handle physical register dependencies. This fixes an llvm-gcc bootstrap failure on x86-64 introduced in r66058. llvm-svn: 66240
-
Dan Gohman authored
functions by name. This fixes PR718. llvm-svn: 66239
-
Gordon Henriksen authored
llvm-svn: 66237
-
Dale Johannesen authored
This is needed so debug info doesn't change codegen. llvm-svn: 66235
-
Bill Wendling authored
Delete this default branch, because we're going to generate our own. llvm-svn: 66234
-
Devang Patel authored
llvm-svn: 66233
-
Devang Patel authored
We are still not out of woods yet. llvm-svn: 66232
-
Oscar Fuentes authored
Patch by Viktar Zviarovich! llvm-svn: 66230
-
Gabor Greif authored
llvm-svn: 66229
-