- Jul 07, 2009
-
-
Devang Patel authored
llvm-svn: 74953
-
Bill Wendling authored
prologue like this: __Z3fooi: Leh_func_begin1: LBB1_0: ## entry pushl %ebp Llabel1: movl %esp, %ebp Llabel2: pushl %esi Llabel3: subl $20, %esp call "L1$pb" "L1$pb": popl %esi The "pushl %ebp" needs a table entry specifying the offset. The "movl %esp, %ebp" makes %ebp the new stack frame register, so that needs to be specified in DWARF. And "pushl %esi" saves the callee-saved %esi register, which also needs to be specified in DWARF. Before, all of this logic was in one method. This didn't work too well, because as you can see there are multiple FDE line entries that need to be created. This fix creates the "MachineMove" objects directly when they're needed; instead of waiting until the end, and losing information. llvm-svn: 74952
-
Nate Begeman authored
llvm-svn: 74951
-
Owen Anderson authored
llvm-svn: 74950
-
Devang Patel authored
llvm-svn: 74949
-
Owen Anderson authored
llvm-svn: 74948
-
Dan Gohman authored
llvm-svn: 74947
-
Evan Cheng authored
llvm-svn: 74946
-
Evan Cheng authored
llvm-svn: 74945
-
Chris Lattner authored
Kevin Enderby! llvm-svn: 74944
-
Sebastian Redl authored
llvm-svn: 74943
-
Owen Anderson authored
llvm-svn: 74942
-
Dan Gohman authored
llvm-svn: 74941
-
Evan Cheng authored
llvm-svn: 74938
-
Anders Carlsson authored
llvm-svn: 74937
-
Mike Stump authored
llvm-svn: 74936
-
Fariborz Jahanian authored
llvm-svn: 74935
-
Owen Anderson authored
llvm-svn: 74934
-
Chris Lattner authored
Olaf Krzikalla! llvm-svn: 74933
-
Chris Lattner authored
not 64, because we read at most 32 bits at a time. OTOH, "Result" must be 64-bits and insertion into it must be 64-bit clean. Thanks to Ivan Sorokin for bringing this up. llvm-svn: 74932
-
Owen Anderson authored
llvm-svn: 74931
-
Chris Lattner authored
by Eric Rannaud! llvm-svn: 74930
-
Chris Lattner authored
uint8_t (via 'foo & 255'), i replaced this with an explicit (uint8_t) cast which is equivalent, faster and more correct (silences type-related warnings). Also, following coding standards I replaced post-increment with pre-increment." Patch by Ryan Flynn! llvm-svn: 74929
-
Bill Wendling authored
llvm-svn: 74928
-
Chris Lattner authored
This fixes PR4512 and eliminating static ctors is always good. Losing thread safety is unfortunate, but the code is just incredibly poorly designed. If someone is interested, the "right" solution is to split DynamicLibrary.cpp into two separate pieces: a stateless piece in libsystem, and a simple support file in libsupport that has the "state" (e.g. AddSymbol) in managed static objects. Doing this would both fix memory leaks we already have, as well as make the code thread safe again. it would also make sense to move all the unix specific code in System/DynamicLibrary.cpp into System/Unix/DynamicLibrary.inc. llvm-svn: 74927
-
Chris Lattner authored
llvm-svn: 74926
-
Evan Cheng authored
llvm-svn: 74925
-
Chris Lattner authored
llvm-svn: 74924
-
Torok Edwin authored
llvm-svn: 74923
-
Torok Edwin authored
This will replace exit()/abort() style error handling with an API that allows clients to register custom error handling hooks. The default is to call exit(1) when no error handler is provided. llvm-svn: 74922
-
Owen Anderson authored
llvm-svn: 74920
-
Chris Lattner authored
Convert the CharInfo table to be statically initialized, instead of dynamically initialized. Patch by Ryan Flynn! llvm-svn: 74919
-
Dan Gohman authored
llvm-svn: 74918
-
Douglas Gregor authored
declaration for a builtin. llvm-svn: 74917
-
Owen Anderson authored
llvm-svn: 74915
-
Mikhail Glushenkov authored
llvm-svn: 74914
-
Mikhail Glushenkov authored
llvm-svn: 74913
-
Mikhail Glushenkov authored
Sanjiv complained about the need to maintain local changes to lib/CompilerDriver. llvm-svn: 74912
-
Douglas Gregor authored
FILE type, rather than using name lookup to find FILE within the translation unit. Within precompiled headers, FILE is treated as yet another "special type" (like __builtin_va_list). This change should provide a performance improvement (not verified), since the lookup into the translation unit declaration forces the (otherwise unneeded) construction of a large hash table. More importantly, with precompiled headers, the construction of that table requires deserializing most of the top-level declarations from the precompiled header, which are then unused. Fixes PR 4509. llvm-svn: 74911
-
Owen Anderson authored
llvm-svn: 74910
-