diff options
author | Sebastian Kreutzer <SebastianKreutzer@gmx.net> | 2025-05-22 16:06:24 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-05-22 09:06:24 -0500 |
commit | 8d0a484983ef3e35e46d7979d749c96203b0296b (patch) | |
tree | 432c9ac00dda0ce446efeee2520499e1e8d107b8 /llvm/lib/CodeGen/MachineBasicBlock.cpp | |
parent | 50127ac054a08321b64f4ac24bda5cad20e20ac1 (diff) | |
download | llvm-8d0a484983ef3e35e46d7979d749c96203b0296b.zip llvm-8d0a484983ef3e35e46d7979d749c96203b0296b.tar.gz llvm-8d0a484983ef3e35e46d7979d749c96203b0296b.tar.bz2 |
[XRay] Fix argument parsing with offloading (#140748) (#141043)
This PR addressed issue #140748 to support XRay instrumentation on the
host side when using offloading.
It makes the following changes:
- Initializes `XRayArgs` using the processed toolchain arguments instead
of the raw input.
- Removes the current caching mechanism of `XRayArgs` in the `ToolChain`
class, as this is error-prone and potential benefits are questionable.
For reference, `SanitizierArgs`, which is constructed in a similar
manner but is much more complex, does not use any caching.
- Adds driver tests to verify that XRay flags are set correctly with
offloading and `-Xarch_host`.
Diffstat (limited to 'llvm/lib/CodeGen/MachineBasicBlock.cpp')
0 files changed, 0 insertions, 0 deletions