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: unassignedclangb...@nondot.org
          Reporter: pan...@gmail.com
                CC: llvm-bugs@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to