HomePhabricator

Make the clang module container format selectable from the command line.

Description

Make the clang module container format selectable from the command line.

  • introduces a new cc1 option -fmodule-format=[raw,obj] with 'raw' being the default
  • supports arbitrary module container formats that libclang is agnostic to
  • adds the format to the module hash to avoid collisions
  • splits the old PCHContainerOperations into PCHContainerWriter and a PCHContainerReader.

Thanks to Richard Smith for reviewing this patch!

Details

Committed
adrianJul 16 2015, 6:19 PM
Parents
rL242498: Only do fmul (fadd x, x), c combine if the fadd only has one use
Branches
Unknown
Tags
Unknown