Otherwise the tests hang on Windows attempting to report nested errors.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
compiler-rt/lib/sanitizer_common/sanitizer_symbolizer_win.cc | ||
---|---|---|
39 ↗ | (On Diff #205913) | How does this help to avoid memset? |
compiler-rt/lib/sanitizer_common/sanitizer_symbolizer_win.cc | ||
---|---|---|
39 ↗ | (On Diff #205913) | Actually, I think the boolean is unnecessary. The constructor has to be user-provided. If it's compiler-synthesized, then the compiler zeros out the memory before calling the constructor, as in this code: struct Foo { Foo() #ifdef USER_CTOR {} #else = default; #endif int x = 0; }; Foo *getit() { return new Foo(); } I'll simplify it. |