Skip to content
  1. Apr 16, 2010
    • Bill Wendling's avatar
      The JIT calls TidyLandingPads to tidy up the landing pads. However, because the · 929f3c09
      Bill Wendling authored
      JIT doesn't use the MC back-end asm printer to emit labels that it uses, the
      section for the MCSymbol is never set. And thus the MCSymbol for the EH label
      isn't marked as "defined". Because of that, TidyLandingPads removes the needed
      landing pads from the JIT output. This breaks EH for every JIT program.
      
      This is a work-around for this limitation. We pass in the label locations
      map. If the label has a non-zero value, then it was "emitted" by the JIT and
      TidyLandingPads shouldn't remove that label.
      
      A nicer solution would be to mark the MCSymbol as "used" by the JIT and not rely
      upon the section being set to determine if it's defined or not.
      
      llvm-svn: 101453
      929f3c09
  2. Apr 15, 2010
  3. Apr 06, 2010
  4. Mar 23, 2010
  5. Mar 16, 2010
    • Chris Lattner's avatar
      Fix the third (and last known) case of code update problems due · db035a0a
      Chris Lattner authored
      to LLVM IR changes with addr label weirdness.  In the testcase, we
      generate references to the two bb's when codegen'ing the first
      function:
      
      _test1:                                 ## @test1
      	leaq	Ltmp0(%rip), %rax
      ..
      	leaq	Ltmp1(%rip), %rax
      
      Then continue to codegen the second function where the blocks
      get merged.  We're now smart enough to emit both labels, producing
      this code:
      
      _test_fun:                              ## @test_fun
      ## BB#0:                                ## %entry
      Ltmp1:                                  ## Block address taken
      Ltmp0:
      ## BB#1:                                ## %ret
      	movl	$-1, %eax
      	ret
      
      Rejoice.
      
      llvm-svn: 98595
      db035a0a
  6. Mar 15, 2010
  7. Mar 14, 2010
  8. Mar 13, 2010
    • Chris Lattner's avatar
      rearrange MCContext ownership. Before LLVMTargetMachine created it · e468f88b
      Chris Lattner authored
      and passing off ownership to AsmPrinter.  Now MachineModuleInfo
      creates it and owns it by value.  This allows us to use MCSymbols
      more consistently throughout the rest of the code generator, and
      simplifies a bit of code.  This also allows MachineFunction to 
      keep an MCContext reference handy, and cleans up the TargetRegistry
      interfaces for AsmPrinters.
      
      llvm-svn: 98450
      e468f88b
  9. Mar 09, 2010
  10. Feb 06, 2010
  11. Jan 28, 2010
  12. Jan 21, 2010
  13. Nov 24, 2009
  14. Nov 12, 2009
  15. Oct 08, 2009
  16. Sep 30, 2009
  17. Sep 16, 2009
  18. Aug 26, 2009
  19. Aug 23, 2009
  20. Aug 01, 2009
  21. Jul 20, 2009
  22. Jul 14, 2009
  23. Jul 11, 2009
    • Torok Edwin's avatar
      assert(0) -> LLVM_UNREACHABLE. · 56d06597
      Torok Edwin authored
      Make llvm_unreachable take an optional string, thus moving the cerr<< out of
      line.
      LLVM_UNREACHABLE is now a simple wrapper that makes the message go away for
      NDEBUG builds.
      
      llvm-svn: 75379
      56d06597
  24. Apr 10, 2009
  25. Feb 03, 2009
  26. Jan 28, 2009
  27. Jan 14, 2009
  28. Dec 10, 2008
    • Evan Cheng's avatar
      Fix a couple of Dwarf bugs. · 288fbd21
      Evan Cheng authored
      - Emit DW_AT_byte_size for struct and union of size zero.
      - Emit DW_AT_declaration for forward type declaration.
      
      llvm-svn: 60812
      288fbd21
Loading