https://bugs.llvm.org/show_bug.cgi?id=39659
Bug ID: 39659
Summary: -fembed-bitcode does nothing for .S files
Product: clang
Version: 7.0
Hardware: Macintosh
OS: MacOS X
Status: NEW
Severity: normal
Priority: P
Component: -New Bugs
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected],
[email protected], [email protected]
See e.g.:
$ touch empty.S empty.c
$ clang -fembed-bitcode -c -o empty-S.o empty.S
$ clang -fembed-bitcode -c -o empty-c.o empty.c
The resulting empty-c.o has a __bitcode/__LLVM segment. When building with
Apple clang, empty-S.o has a __asm/__LLVM segment. With upstream clang 7.0.0,
empty-S.o is identical whether -fembed-bitcode is passed or not, and no __LLVM
segment is present. This means Apple clang is currently required to build
assembly for the Apple TV App Store.
--
You are receiving this mail because:
You are on the CC list for the bug._______________________________________________
llvm-bugs mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs