Mark Wielaard <[email protected]> writes:

> clang with -flto produces object files that contain bitcode. This
> breaks various (self) testcases that expect those .o files are ELF
> files. readelf, nm, elfcheck and elfcompress won't work on such files.

This isn't specific to Clang. GCC does exactly the same thing. You only
get 'real code' in them if you pass -ffat-lto-objects too.

> [...]

sam

Attachment: signature.asc
Description: PGP signature

Reply via email to