Otherwise the tests hang on Windows attempting to report nested errors.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
- Build Status
Buildable 33712 Build 33711: arc lint + arc unit
Event Timeline
compiler-rt/lib/sanitizer_common/sanitizer_symbolizer_win.cc | ||
---|---|---|
39 | How does this help to avoid memset? |
compiler-rt/lib/sanitizer_common/sanitizer_symbolizer_win.cc | ||
---|---|---|
39 | 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. |
How does this help to avoid memset?