diff options
author | XingLi <lixing@loongson.cn> | 2022-11-11 21:22:45 +0800 |
---|---|---|
committer | Weining Lu <luweining@loongson.cn> | 2022-11-11 21:24:07 +0800 |
commit | 1e2c20fc1381f88c9a697d5c25ff4393c31b69a3 (patch) | |
tree | 7c3b6b96928c944a3f9590641afbcb01b471f6d9 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 2f1c942f806e7a616f81bdb61898ae1e6f8a8263 (diff) | |
download | llvm-1e2c20fc1381f88c9a697d5c25ff4393c31b69a3.zip llvm-1e2c20fc1381f88c9a697d5c25ff4393c31b69a3.tar.gz llvm-1e2c20fc1381f88c9a697d5c25ff4393c31b69a3.tar.bz2 |
[compiler-rt] Mark $t* as clobbered for Linux/LoongArch syscalls
Linux/LoongArch doesn't preserve temporary registers across syscalls,
so we have to explicitly mark them as clobbered to avoid trashing local variables.
Reviewed By: xry111, xen0n, tangyouling, SixWeining
Differential Revision: https://reviews.llvm.org/D137396
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions