Implemented support for "pragma clang optimize on/off", based on attributeā€¦

Description

Implemented support for "pragma clang optimize on/off", based on attribute 'optnone'.

This patch implements support for selectively disabling optimizations on a
range of function definitions through a pragma. The implementation is that
all function definitions in the range are decorated with attribute
'optnone'.

#pragma clang optimize off
// All function definitions in here are decorated with 'optnone'.
#pragma clang optimize on
// Compilation resumes as normal.

Details

Committed
ddomizioliMay 23 2014, 5:13 AM
Parents
rL209509: [asan] fix a test following r209508
Branches
Unknown
Tags
Unknown