aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/ELFObjectFile.cpp
diff options
context:
space:
mode:
authorAiden Grossman <aidengrossman@google.com>2025-09-19 15:04:38 -0700
committerGitHub <noreply@github.com>2025-09-19 15:04:38 -0700
commitcfabbf0f3dab99fba27ff8a9abdacc8555b44c98 (patch)
tree4676d8ac6ac4ada19b30914132efa0593c10a232 /llvm/lib/Object/ELFObjectFile.cpp
parent7165cf3e1266958c4457abeeadf9d9e965b51c92 (diff)
downloadllvm-cfabbf0f3dab99fba27ff8a9abdacc8555b44c98.zip
llvm-cfabbf0f3dab99fba27ff8a9abdacc8555b44c98.tar.gz
llvm-cfabbf0f3dab99fba27ff8a9abdacc8555b44c98.tar.bz2
[lit] Add support for readfile to external shell
This patch adds support for the new lit %{readfile:<filename>} substitution to the external shell. The implementation currently just appends some test commands to ensure the file exists and uses a subshell with cat. This is intended to enable running tests using the substitution in the external shell before we fully switch over to the internal shell. This code is designed to be temporary with us deleting it once everything has migrated over to the internal shell and we are able to remove the external shell code paths. Reviewers: petrhosek, cmtice, pogo59, ilovepi, arichardson Reviewed By: cmtice Pull Request: https://github.com/llvm/llvm-project/pull/159431
Diffstat (limited to 'llvm/lib/Object/ELFObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions