Skip to content
  1. May 23, 2011
    • Charles Davis's avatar
      Implement .seh_stackalloc and .seh_pushframe parsing. · d9eafdcf
      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
      d9eafdcf
  2. May 22, 2011
  3. May 21, 2011
  4. May 20, 2011
  5. May 19, 2011
  6. May 18, 2011
    • Cameron Zwarich's avatar
      Fix an obvious typo in r131572. · 492f87de
      Cameron Zwarich authored
      llvm-svn: 131579
      492f87de
    • Charles Davis's avatar
      Add some more Win64 EH directives: · 77e0610d
      Charles Davis authored
      - StartChained and EndChained delimit a chained unwind area, which can contain
        additional operations to be undone if an exception occurs inside of it.
      - UnwindOnly declares that this function doesn't handle any exceptions. If it
        has a handler, it's an unwind handler instead of an exception handler.
      - Lsda declares the location and size of the LSDA, which in the Win64 EH
        scheme is kept inside the UNWIND_INFO struct. Windows itself ignores the
        LSDA; it's used by the Language-Specific Handler (the "Personality Function"
        from DWARF).
      
      llvm-svn: 131572
      77e0610d
    • Charles Davis's avatar
      Implement the Win64 EH directive methods for the assembly language streamer. · 8d9c9904
      Charles Davis authored
      GAS has no such directives (not even mingw-w64 GAS has them), so I took
      creative license with their names in assembly. I prefixed them all with
      "w64_" to avoid namespace collisions, for example. If I discover that GAS
      has taken a different approach, I'll change ours to match.
      
      llvm-svn: 131525
      8d9c9904
    • Charles Davis's avatar
      While thinking about how to know where the functions' boundaries are for · 384041d0
      Charles Davis authored
      the purposes of the Win64 EH tables, I realized we had no way to tell where
      the function ends. (MASM bounds functions with PROC and ENDP keywords.)
      Add a directive to delimit the end of the function, and rename the 'frame'
      directive to more accurately reflect its duality with the new directive.
      
      llvm-svn: 131522
      384041d0
  7. May 16, 2011
  8. May 15, 2011
  9. May 12, 2011
    • Matt Beaumont-Gay's avatar
      Remove an unused variable and move a couple others inside DEBUG. · 7c6c90b3
      Matt Beaumont-Gay authored
      llvm-svn: 131208
      7c6c90b3
    • Jason W Kim's avatar
      Address the last bit of relocation flag related divergence betweeen · c09e7264
      Jason W Kim authored
      LLVM and binutils.
      
      With this patch, there are no functional differences between the .o
      produced directly from LLVM versus the .s to .o via GNU as, for relocation tags
      at least, for both PIC and non-PIC modes.
      
      Because some non-PIC reloc tags are used (legally) on PIC, so IsPCRel flag is
      necessary but not sufficient to determine whether the overall codegen mode is
      PIC or not. Why is this necessary? There is an incompatibility of how relocs
      are emitted in the .rodata section.  Binutils PIC likes to emit certain relocs
      as section relative offsets.  Non-PIC does not do this.
      
      So I added a hidden switch on the ELFObjectwriter "-arm-elf-force-pic" which
      forces the objectwriter to pretend that all relocs are for PIC mode.
      
      
      Todo: Activate ForceARMElfPIC to true if -relocation-model=pic is selected
      on llc.
      
      Todo: There are probably more issues for PIC mode on ARM/MC/ELF...
      
      Todo: Existing tests in MC/ARM/elf-reloc*.ll need to be converted over to .s 
      tests as well as expanded to cover the gamut.
      
      llvm-svn: 131205
      c09e7264
  10. May 11, 2011
  11. May 10, 2011
Loading