[compiler-rt] Dump regs fbsd fix (PR #99676)
Vitaly Buka via llvm-commits
llvm-commits at lists.llvm.org
Fri Jul 19 11:18:11 PDT 2024
================
@@ -2171,29 +2172,32 @@ static const char *RegNumToRegName(int reg) {
return "ebp";
case REG_ESP:
return "esp";
+# endif
# endif
default:
return NULL;
}
return NULL;
}
+# if SANITIZER_LINUX
UNUSED
static void DumpSingleReg(ucontext_t *ctx, int RegNum) {
----------------
vitalybuka wrote:
you can probably # if SANITIZER_LINUX both functions with one block
https://github.com/llvm/llvm-project/pull/99676
More information about the llvm-commits
mailing list