[FunctionAttrs] Provide a mechanism for adding function attributes from the…

Description

[FunctionAttrs] Provide a mechanism for adding function attributes from the command line

This provides a way to force a function to have certain attributes from the command line. This can be useful when debugging or doing workload exploration, where manually editing IR is tedious or not possible (due to build systems etc).

The syntax is -force-attribute=function_name:attribute_name

All function attributes are parsed except alignstack as it requires an argument.

Details

Committed
jamesmNov 19 2015, 12:49 AM
Parents
rL253549: [asan] Enable halt_on_error tests on ARM targets.
Branches
Unknown
Tags
Unknown