[llvm-bugs] [Bug 27956] New: [LTO] TLS mismatch

via llvm-bugs llvm-bugs at lists.llvm.org
Tue May 31 15:50:23 PDT 2016


https://llvm.org/bugs/show_bug.cgi?id=27956

            Bug ID: 27956
           Summary: [LTO] TLS mismatch
           Product: lld
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: All Bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: davide at freebsd.org
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

; REQUIRES: x86
; RUN: llvm-as %s -o %t1.o
; RUN: ld.lld -shared %t1.o -m elf_x86_64 -o %t1

target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

@tsp_int = thread_local global i32 1, align 4

define i32 @_start(i32, i8**) {
  %val = load i32, i32* @tsp_int, align 4
  ret i32 %val
}

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20160531/0cc42999/attachment.html>


More information about the llvm-bugs mailing list