[PATCH] D40714: Correct atexit(3) support in MSan/NetBSD

Vitaly Buka via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 5 16:57:35 PST 2017


vitalybuka added inline comments.


================
Comment at: lib/msan/msan_interceptors.cc:1097
+
+    // Pop AtExitCtx from the top of the stack of callback functions
+    uptr element = interceptor_ctx()->AtExitStack.Size() - 1;
----------------
this and PushBack comment below also do no add any value


Repository:
  rL LLVM

https://reviews.llvm.org/D40714





More information about the llvm-commits mailing list