about summary refs log tree commit diff
path: root/tests/codegen/instrument-xray
AgeCommit message (Collapse)AuthorLines
2023-02-09Test XRay only for supported targetsOleksii Lozovskyi-0/+3
Now that the compiler accepts "-Z instrument-xray" option only when targeting one of the supported targets, make sure to not run the codegen tests where the compiler will fail. Like with other compiletests, we don't have access to internals, so simply hardcode a list of supported architectures here.
2023-02-09Codegen tests for -Z instrument-xrayOleksii Lozovskyi-0/+29
Let's add at least some tests to verify that this option is accepted and produces expected LLVM attributes. More tests can be added later with attribute support.