aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/Error.cpp
diff options
context:
space:
mode:
authorJob Noorman <jnoorman@igalia.com>2023-05-17 11:23:43 +0200
committerJob Noorman <jnoorman@igalia.com>2023-05-17 11:35:19 +0200
commit348d0a6bf66be8816c26a387c0a023225afe6e34 (patch)
tree0d0648ce168cc8ac02bf709b9eec12aa0b4c1cd5 /llvm/lib/Support/Error.cpp
parent080ee850c639be96b8bea8008088f2b036ff0f15 (diff)
downloadllvm-348d0a6bf66be8816c26a387c0a023225afe6e34.zip
llvm-348d0a6bf66be8816c26a387c0a023225afe6e34.tar.gz
llvm-348d0a6bf66be8816c26a387c0a023225afe6e34.tar.bz2
[JITLink] Add target features to LinkGraph
This patch adds SubtargetFeatures to LinkGraph. Similar to Triple, some targets might use this information while linking. One example, and the reason this patch was written, is linker relaxation on RISC-V: different relaxations are possible depending on if the C extension is enabled. Note that the features are stored as `std::vector<std::string>` to prevent a public dependency on MC. There is still a private dependency to be able to convert SubtargetFeatures to a vector. Reviewed By: lhames Differential Revision: https://reviews.llvm.org/D149522
Diffstat (limited to 'llvm/lib/Support/Error.cpp')
0 files changed, 0 insertions, 0 deletions