[driver] Add -emit-sib primary action.

Swift SVN r25783
This commit is contained in:
Luqman Aden
2015-03-05 19:15:07 +00:00
parent d95d458634
commit 34b74cfa1c
24 changed files with 174 additions and 29 deletions

View File

@@ -101,6 +101,11 @@ static bool readOptionsBlock(llvm::BitstreamCursor &cursor,
case options_block::XCC:
extendedInfo.addExtraClangImporterOption(blobData);
break;
case options_block::IS_SIB:
bool IsSIB;
options_block::IsSIBLayout::readRecord(scratch, IsSIB);
extendedInfo.setIsSIB(IsSIB);
break;
default:
// Unknown options record, possibly for use by a future version of the
// module format.