[llvm-bugs] [Bug 36480] New: Option "-fpic" has no effection with option "-mcmodel=large"

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Feb 22 15:29:38 PST 2018


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

            Bug ID: 36480
           Summary: Option "-fpic" has no effection with option
                    "-mcmodel=large"
           Product: clang
           Version: 5.0
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: -New Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: pangbw at gmail.com
                CC: llvm-bugs at lists.llvm.org

~$ cat x.c
extern void tttt();
void x()
{
  tttt();
}
~$ clang -mcmodel=large -fpic -S x.c
~$ grep tttt x.s 
        movabsq $tttt, %rax

-- 
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/20180222/6d0bd70f/attachment.html>


More information about the llvm-bugs mailing list