- Jun 09, 2011
-
-
Roman Divacky authored
VK_PPC_{HA,LO}16 into darwin and gas variants. Darwin wants {ha,lo}16(symbol) while gnu as wants symbol@{ha,l}. llvm-svn: 132802
-
Jason W Kim authored
llvm-svn: 132790
-
- Jun 07, 2011
-
-
Roman Divacky authored
llvm-svn: 132715
-
- Jun 05, 2011
-
-
Rafael Espindola authored
We still don't handle * default values * :req * :vararg * \() llvm-svn: 132656
-
Rafael Espindola authored
VK_GOTOFF reloc. This matches as' behavior, but it is not clear why the linker might need this, so I added a FIXME. I could test this by duplicating test/MC/ELF/got.s, but it doesn't look worthwhile. llvm-svn: 132655
-
- Jun 04, 2011
-
-
Nick Lewycky authored
llvm-svn: 132643
-
- Jun 02, 2011
-
-
Jim Grosbach authored
Parsing a register name/number for .cfi directives can't assume that a register name starts with a '%' token. Be more flexible and check for a register number instead. Still unlikely to be perfect, but it allows us to parse both plain identifiers as register names and integers as register numbers, which is what we're wanting to support at this point. llvm-svn: 132466
-
Rafael Espindola authored
llvm-svn: 132451
-
- Jun 01, 2011
-
-
Joerg Sonnenberger authored
llvm-svn: 132395
-
- May 30, 2011
-
-
Rafael Espindola authored
directives. Fixes PR9826. llvm-svn: 132317
-
- May 27, 2011
-
-
Charles Davis authored
suffix (e.g. .xdata$myfunc). The suffix part isn't implemented yet, but I'll get to it in the next patch. Fix up all callers of the affected functions. Make them pass said suffix to the function. llvm-svn: 132205
-
Charles Davis authored
- Flip order of bitfields. This gets our output matching GAS. - Handle case where the end of the prolog wasn't specified. - If the resulting unwind info struct is less than 8 bytes, pad to 8 bytes. Add a test for the latter two. llvm-svn: 132188
-
Charles Davis authored
Use them to calculate the offset inside the prolog. Emit this value when emitting the unwind codes. llvm-svn: 132177
-
Charles Davis authored
to 4 bytes. I'm surprised no one caught the missing break statements. llvm-svn: 132176
-
Charles Davis authored
still report leaks, but they're spurious now. Valgrind cannot peer into std::vector objects--or any dynamic array, for that matter--because it doesn't know how big the array is. llvm-svn: 132174
-
Charles Davis authored
already defined, and err when the PushMachFrame operation isn't the first operation (if specified at all). llvm-svn: 132173
-
- May 26, 2011
-
-
Charles Davis authored
Rework how the MCWin64EHUnwindInfo instances are stored. Fix issues with chained unwind areas exposed by the test that were related to this. The ChainedParent field had the wrong address, because when the chained unwind info was added, the addresses shifted around. Now we store the pointers to the structures, which are now allocated from the MC heap. llvm-svn: 132106
-
- May 25, 2011
-
-
Charles Davis authored
them. I had to add a special SwitchSectionNoChange method to MCStreamer just for .seh_handlerdata. If this isn't OK, please let me know, and I'll find some other way to fix .seh_handlerdata streaming. llvm-svn: 132084
-
Charles Davis authored
buggy methods that parse these directives. llvm-svn: 132045
-
Charles Davis authored
one I found by inspection). llvm-svn: 132037
-
Charles Davis authored
method exposed by the test. While we're at it, simplify the .seh_proc parsing method. llvm-svn: 132028
-
- May 24, 2011
-
-
Charles Davis authored
this test. llvm-svn: 132004
-
Charles Davis authored
Add a size alignment check to the .seh_stackalloc directive parser. Add a more descriptive error message to the .seh_handler directive parser. Add methods to the TargetAsmInfo struct in support of all this. llvm-svn: 131992
-
- May 23, 2011
-
-
Jim Grosbach authored
llvm-svn: 131918
-
Charles Davis authored
I haven't implemented any of the ones that take registers yet. The problem is that for x86-64 the streamer methods expect a native x86 register number (note: %r8-%r15 want 8-15 instead of 0-7; same for %xmm8-%xmm15). I haven't figured out exactly how I want to do that yet. llvm-svn: 131899
-
- May 22, 2011
-
-
Charles Davis authored
of them, particularly the ones that don't take arguments. Also implement .seh_proc and .seh_handler. llvm-svn: 131866
-
Chris Lattner authored
llvm-svn: 131837
-
Chris Lattner authored
llvm-svn: 131836
-
Charles Davis authored
these tables. llvm-svn: 131833
-
Charles Davis authored
directive. Implement emission of Win64 EH unwind info. Pull in <cassert> in MCWin64EH.h so it can use the assert() macro. llvm-svn: 131832
-
Charles Davis authored
Also, fix threshold for 'Big' register saves. llvm-svn: 131830
-
- May 21, 2011
-
-
Charles Davis authored
unwind areas. llvm-svn: 131795
-
Charles Davis authored
and an exception handler. Handle that case. Also, add an 'Emitted' member to the MCWin64EHUnwindInfo struct. It will be needed later. llvm-svn: 131791
-
Charles Davis authored
is needed for an upcoming patch. llvm-svn: 131772
-
- May 20, 2011
-
-
Jim Grosbach authored
llvm-svn: 131760
-
Jim Grosbach authored
llvm-svn: 131755
-
Rafael Espindola authored
of tBL/tBLX to R_ARM_THM_CALL (ARM ELF 4.7.1.6) Patch by koan-sin tan. llvm-svn: 131748
-
Charles Davis authored
super. llvm-svn: 131743
-
Charles Davis authored
There's really nothing to implement. All this really does is swap to a pseudo-section that later gets written to the unwind info struct. That needs to be implemented in the object streamers. llvm-svn: 131734
-
Rafael Espindola authored
foo: bar = foo .quad bar Avoid producing it. Fixes PR9951. llvm-svn: 131687
-