pytorch
e45343fa - TORCH_INTERNAL_ASSERT_DEBUG_ONLY not eating message string (#33251)

Commit
4 years ago
TORCH_INTERNAL_ASSERT_DEBUG_ONLY not eating message string (#33251) Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/33251 Somehow this was preventing `c10::Error` exceptions from ever being thrown on windows when `defined(NDEBUG) == false`. Kinda scary. Test Plan: sandcastle green, made sure `intrusive_ptr_test.cpp` (givenStackObject_whenReclaimed_thenCrashes) passed inside ovrsource using `mode/win/dev-debug` Reviewed By: malfet Differential Revision: D19865667 fbshipit-source-id: c32d5752025c043e57d16c6d14a94b069bed0bc3
Author
Parents
Loading