aboutsummaryrefslogtreecommitdiff
path: root/mlir/lib/Bytecode/Reader/BytecodeReader.cpp
diff options
context:
space:
mode:
authorOleksii Lozovskyi <me@ilammy.net>2023-06-22 18:41:07 -0700
committerFangrui Song <i@maskray.me>2023-06-22 18:41:07 -0700
commitbe1b2ac9485746a79b92310b9d0ba505650ce53e (patch)
tree922d5a31c6e0196d54c2f0e118663d6df9072962 /mlir/lib/Bytecode/Reader/BytecodeReader.cpp
parent85c66f5d18b3b4123eb9246a48ed5118219996d8 (diff)
downloadllvm-be1b2ac9485746a79b92310b9d0ba505650ce53e.zip
llvm-be1b2ac9485746a79b92310b9d0ba505650ce53e.tar.gz
llvm-be1b2ac9485746a79b92310b9d0ba505650ce53e.tar.bz2
[compiler-rt][CMake] Multiarch build of XRay libraries
Instead of dumping all sources into RTXray object library with a weird special case for x86, handle multiarch builds better. Build a separate object library for each arch with its arch-specific sources, then link in all those libraries. This fixes the build on platforms that produce fat binaries, such as new macOS which expects both x86_64 and aarch64 objects in the same library since Apple Silicon is a thing. This only enables building XRay support for Apple Silicon. It does not actually work yet on macOS, neither on Intel nor on Apple Silicon CPUs. Thus the tests are still disabled. Reviewed By: MaskRay, phosek Differential Revision: https://reviews.llvm.org/D153221
Diffstat (limited to 'mlir/lib/Bytecode/Reader/BytecodeReader.cpp')
0 files changed, 0 insertions, 0 deletions