Skip to content
  1. Feb 19, 2014
  2. 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
    • Lang Hames's avatar
      Consistently check 'IsCode' when allocating sections in RuntimeDyld (via · 9b2dc930
      Lang Hames authored
      findOrEmitSection).
      
      Vaidas Gasiunas's patch, r201259, fixed one instance where we were always
      allocating sections as text. This patch fixes the remaining buggy call sites.
      
      No test case: This isn't breaking anything that I know of, it's just
      inconsistent.
      
      <rdar://problem/15943542>
      
      llvm-svn: 201605
      9b2dc930
    • Ana Pazos's avatar
      [AArch64] Expanded sin, cos, pow with FP vector types inputs · 7c27a265
      Ana Pazos authored
      llvm-svn: 201601
      7c27a265
    • Daniel Sanders's avatar
      [mips] Add support for ELF64-mips and the R_MIPS_32/R_MIPS_64 relocs for it. · 5cc5cd90
      Daniel Sanders authored
      Summary:
      This fixes several test failures when building LLVM on a MIPS host.
      
      The failures were:
          LLVM :: DebugInfo/enum.ll
          LLVM :: DebugInfo/inlined-arguments.ll
          LLVM :: DebugInfo/member-order.ll
          LLVM :: DebugInfo/namespace.ll
          LLVM :: DebugInfo/template-recursive-void.ll
          LLVM :: DebugInfo/tu-composite.ll
          LLVM :: DebugInfo/two-cus-from-same-file.ll
          LLVM :: Linker/type-unique-simple-a.ll
          LLVM :: Linker/type-unique-simple2.ll
      
      Reviewers: jacksprat, matheusalmeida
      
      Reviewed By: matheusalmeida
      
      Differential Revision: http://llvm-reviews.chandlerc.com/D2721
      
      llvm-svn: 201582
      5cc5cd90
    • 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
Loading