[compiler-rt] [compiler-rt][rtsan] Use Die instead of exit, define cf.exitcode (PR #107635)

Chris Apple via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 9 12:48:24 PDT 2024


================
@@ -35,6 +35,7 @@ void __rtsan::InitializeFlags() {
   {
     CommonFlags cf;
     cf.CopyFrom(*common_flags());
+    cf.exitcode = 43; // (TR-)808 % 255 = 43
----------------
cjappl wrote:

Done, thanks for the feedback, agreed :)

https://github.com/llvm/llvm-project/pull/107635


More information about the llvm-commits mailing list