Skip to content
  1. Feb 25, 2014
    • Logan Chien's avatar
      Keep the link register for uwtable. · 18583d71
      Logan Chien authored
      The function with uwtable attribute might be visited by the
      stack unwinder, thus the link register should be considered
      as clobbered after the execution of the branch and link
      instruction (i.e. the definition of the machine instruction
      can't be ignored) even when the callee function are marked
      with noreturn.
      
      llvm-svn: 202165
      18583d71
    • Alp Toker's avatar
      Fix typos · 70b36995
      Alp Toker authored
      llvm-svn: 202107
      70b36995
    • Nick Lewycky's avatar
      Indent this continued line. · 1ce017e8
      Nick Lewycky authored
      llvm-svn: 202096
      1ce017e8
  2. Feb 24, 2014
  3. Feb 23, 2014
  4. Feb 22, 2014
  5. Feb 21, 2014
  6. Feb 20, 2014
  7. Feb 19, 2014
    • Rafael Espindola's avatar
      move getNameWithPrefix and getSymbol to TargetMachine. · a3ad4e69
      Rafael Espindola authored
      TargetLoweringBase is implemented in CodeGen, so before this patch we had
      a dependency fom Target to CodeGen. This would show up as a link failure of
      llvm-stress when building with -DBUILD_SHARED_LIBS=ON.
      
      This fixes pr18900.
      
      llvm-svn: 201711
      a3ad4e69
    • Rafael Espindola's avatar
      Add back r201608, r201622, r201624 and r201625 · daeafb4c
      Rafael Espindola authored
      r201608 made llvm corretly handle private globals with MachO. r201622 fixed
      a bug in it and r201624 and r201625 were changes for using private linkage,
      assuming that llvm would do the right thing.
      
      They all got reverted because r201608 introduced a crash in LTO. This patch
      includes a fix for that. The issue was that TargetLoweringObjectFile now has
      to be initialized before we can mangle names of private globals. This is
      trivially true during the normal codegen pipeline (the asm printer does it),
      but LTO has to do it manually.
      
      llvm-svn: 201700
      daeafb4c
    • Daniel Jasper's avatar
      Revert r201622 and r201608. · 7e198ad8
      Daniel Jasper authored
      This causes the LLVMgold plugin to segfault. More information on the
      replies to r201608.
      
      llvm-svn: 201669
      7e198ad8
    • Rafael Espindola's avatar
      Avoid an infinite cycle with private linkage and -f{data|function}-sections. · b9ea63c5
      Rafael Espindola authored
      When outputting an object we check its section to find its name, but when
      looking for the section with -ffunction-section we look for the symbol name.
      
      Break the loop by requesting a name with the private prefix when constructing
      the section name. This matches the behavior before r201608.
      
      llvm-svn: 201622
      b9ea63c5
  8. Feb 18, 2014
    • Rafael Espindola's avatar
      Fix PR18743. · 09dcc6a5
      Rafael Espindola authored
      The IR
      @foo = private constant i32 42
      
      is valid, but before this patch we would produce an invalid MachO from it. It
      was invalid because it would use an L label in a section where the liker needs
      the labels in order to atomize it.
      
      One way of fixing it would be to just reject this IR in the backend, but that
      would not be very front end friendly.
      
      What this patch does is use an 'l' prefix in sections that we know the linker
      requires symbols for atomizing them. This allows frontends to just use
      private and not worry about which sections they go to or how the linker handles
      them.
      
      One small issue with this strategy is that now a symbol name depends on the
      section, which is not available before codegen. This is not a problem in
      practice. The reason is that it only happens with private linkage, which will
      be ignored by the non codegen users (llvm-nm and llvm-ar).
      
      llvm-svn: 201608
      09dcc6a5
    • Rafael Espindola's avatar
      Rename a DebugLoc variable to DbgLoc and a DataLayout to DL. · ea09c595
      Rafael Espindola authored
      This is quiet a bit less confusing now that TargetData was renamed DataLayout.
      
      llvm-svn: 201606
      ea09c595
    • Rafael Espindola's avatar
      Rename some member variables from TD to DL. · 7c68bebb
      Rafael Espindola authored
      TargetData was renamed DataLayout back in r165242.
      
      llvm-svn: 201581
      7c68bebb
  9. Feb 16, 2014
    • Eric Christopher's avatar
      Add a DIELoc class to cover the DW_FORM_exprloc set of expressions · 4a741049
      Eric Christopher authored
      alongside DIEBlock and replace uses accordingly. Use DW_FORM_exprloc
      in DWARF4 and later code. Update testcases.
      
      Adding a DIELoc instead of using extra forms inside DIEBlock so
      that we can keep location expressions separate from other uses. No
      direct use at the moment, however, it's not a lot of code and
      using a separately named class keeps it somewhat more obvious
      what's going on in various locations.
      
      llvm-svn: 201481
      4a741049
  10. Feb 15, 2014
    • David Blaikie's avatar
      DebugInfo: Deduplicate entries in the fission address table · f1a6dea8
      David Blaikie authored
      This broke in r185459 while TLS support was being generalized to handle
      non-symbol TLS representations.
      
      I thought about/tried having an enum rather than a bool to track the
      TLS-ness of the address table entry, but namespaces and naming seemed
      more hassle than it was worth for only one caller that needed to specify
      this.
      
      llvm-svn: 201469
      f1a6dea8
    • David Blaikie's avatar
      DwarfDebug: Remove dead code. · f28703a1
      David Blaikie authored
      llvm-svn: 201467
      f28703a1
    • David Blaikie's avatar
      DebugInfo: Implement DW_AT_stmt_list for type units · 60e6386b
      David Blaikie authored
      Type units will share the statement list of their defining compile unit.
      This is a tradeoff that reduces .o debug info size at the cost of some
      linked debug info size (since the contents of those string tables won't
      be deduplicated along with the type unit) which seems right for now.
      
      llvm-svn: 201445
      60e6386b
  11. Feb 14, 2014
Loading