about summary refs log tree commit diff
path: root/tests/codegen/instrument-xray/basic.rs
AgeCommit message (Collapse)AuthorLines
2025-07-22Rename `tests/codegen` into `tests/codegen-llvm`Guillaume Gomez-9/+0
2024-02-22[AUTO_GENERATED] Migrate compiletest to use `ui_test`-style `//@` directives许杰友 Jieyou Xu (Joe)-2/+2
2023-10-17Automatically enable cross-crate inlining for small functionsBen Kimock-1/+1
2023-02-09Test XRay only for supported targetsOleksii Lozovskyi-0/+1
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/+8
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.