[PATCH] D37793: [compiler-rt] Use SignalContext in ErrorStackOverflow and ErrorDeadlySignal

Aleksey Shlyapnikov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 13 10:39:52 PDT 2017


alekseyshl accepted this revision.
alekseyshl added inline comments.
This revision is now accepted and ready to land.


================
Comment at: compiler-rt/lib/asan/asan_errors.h:31
 struct ErrorStackOverflow : ErrorBase {
-  uptr addr, pc, bp, sp;
-  // ErrorStackOverflow never owns the context.
-  void *context;
+  SignalContext sig;
   // VS2013 doesn't implement unrestricted unions, so we need a trivial default
----------------
Can you rename it to 'signal'?


https://reviews.llvm.org/D37793





More information about the llvm-commits mailing list