- 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
-
Owen Anderson authored
llvm-svn: 74950
-
Devang Patel authored
llvm-svn: 74949
-
Owen Anderson authored
llvm-svn: 74948
-
Evan Cheng authored
llvm-svn: 74946
-
Chris Lattner authored
Kevin Enderby! llvm-svn: 74944
-
Owen Anderson authored
llvm-svn: 74942
-
Evan Cheng authored
llvm-svn: 74938
-
Mike Stump authored
llvm-svn: 74936
-
Owen Anderson authored
llvm-svn: 74934
-
Owen Anderson authored
llvm-svn: 74931
-
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
-
Dan Gohman authored
llvm-svn: 74918
-
Owen Anderson authored
llvm-svn: 74910
-
Sanjiv Gupta authored
previous cmp; a copy can not be inserted here if the copy insn also has side effects. We don't have access to the attributes of copy insn here; so just play safe by finding a safe locations for branch terminators. llvm-svn: 74898
-
Evan Cheng authored
llvm-svn: 74895
-
Evan Cheng authored
llvm-svn: 74889
-
Evan Cheng authored
llvm-svn: 74888
-
Dale Johannesen authored
in PIC modes (in accordance with existing comment). gcc.apple/asm-block-25.c llvm-svn: 74886
-
Devang Patel authored
llvm-svn: 74881
-
Devang Patel authored
PIC16 developers, please verify. Thanks. llvm-svn: 74880
-
Devang Patel authored
llvm-svn: 74879
-
Owen Anderson authored
llvm-svn: 74878
-
Owen Anderson authored
Finish LLVMContext-ing lib/Analysis. This required pushing LLVMContext's through the ValueTracking API. llvm-svn: 74873
-
Evan Cheng authored
llvm-svn: 74871
-
Evan Cheng authored
llvm-svn: 74868
-
Evan Cheng authored
llvm-svn: 74866
-
- Jul 06, 2009
-
-
Evan Cheng authored
llvm-svn: 74857
-
Owen Anderson authored
llvm-svn: 74854
-
Owen Anderson authored
Patch by Xerxes Ranby. llvm-svn: 74846
-
Owen Anderson authored
llvm-svn: 74844
-
Sanjiv Gupta authored
pic16 doesn't have a Data64bitsDirective. Set it NULL explicitly to tell the generic code to not pick the default. llvm-svn: 74839
-
Sanjiv Gupta authored
llvm-svn: 74838
-