[LLVMbugs] [Bug 21636] New: -no-integrated-as is broken on Mac OS X (Unknown pseudo-op: .macosx_version_min)
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Fri Nov 21 12:43:18 PST 2014
http://llvm.org/bugs/show_bug.cgi?id=21636
Bug ID: 21636
Summary: -no-integrated-as is broken on Mac OS X (Unknown
pseudo-op: .macosx_version_min)
Product: clang
Version: trunk
Hardware: Macintosh
OS: MacOS X
Status: NEW
Severity: normal
Priority: P
Component: -New Bugs
Assignee: unassignedclangbugs at nondot.org
Reporter: t.poechtrager at gmail.com
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
$ cat test.c
int main(){}
$ ~/llvm-trunk/bin/clang test.c -no-integrated-as
/var/folders/yv/43njmxj17k7gv_04z6m21krm0000gn/T/test-4988d4.s:2:Unknown
pseudo-op: .macosx_version_min
/var/folders/yv/43njmxj17k7gv_04z6m21krm0000gn/T/test-4988d4.s:2:Rest of line
ignored. 1st junk character valued 49 (1).
[...]
---
cctools version: 855
clang version: trunk (3.5 seems also affected)
---
$ ~/llvm-trunk/bin/clang test.c -S -o-
.section __TEXT,__text,regular,pure_instructions
.macosx_version_min 10, 9
.globl _main
.align 4, 0x90
_main: ## @main
## BB#0:
pushl %ebp
movl %esp, %ebp
movl $0, %eax
popl %ebp
retl
.subsections_via_symbols
---
Apple Clang:
$ clang test.c -S -o-
.section __TEXT,__text,regular,pure_instructions
.globl _main
.align 4, 0x90
_main: ## @main
.cfi_startproc
## BB#0:
pushq %rbp
Ltmp2:
.cfi_def_cfa_offset 16
Ltmp3:
.cfi_offset %rbp, -16
movq %rsp, %rbp
Ltmp4:
.cfi_def_cfa_register %rbp
movl $0, %eax
popq %rbp
ret
.cfi_endproc
.subsections_via_symbols
--
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/20141121/7f9b696c/attachment.html>
More information about the llvm-bugs
mailing list