Introduce the ability to insert IACA (Intel Architecture Code Analyzer) marks.
The IACI marks identify the code which should be analyzed with the IACA.
The generated binaries are not executable due to the marks. This feature should
only be used during develpoment when analyzing generated code so it is protected
behind the --allow-iaca-marks flag.
ScopedIacaMark is a helper class which opens mark and closes it at the end of
the scope. This is useful when there are many returns as you don't have to write
`_iaca_end()` before them all.
BUG=
R=stichnot@chromium.org
Review URL: https://codereview.chromium.org/1260093003.
7 files changed