src: implement backtrace-on-abort for windows#16951
src: implement backtrace-on-abort for windows#16951addaleax wants to merge 2 commits intonodejs:masterfrom
Conversation
src/backtrace_win32.cc
Outdated
| @@ -1,8 +1,41 @@ | |||
| #include "node.h" | |||
| #define _WIN32_WINNT 0x0600 | |||
There was a problem hiding this comment.
@nodejs/platform-windows What’s the right way to do this? That’s basically the only question I have left here…
There was a problem hiding this comment.
This is actually an interesting question. We have multiple version targeting macros:
There was a problem hiding this comment.
(shirt-return is not the right key-chord. it's not new line, it's Submit)
- From V8
node/deps/v8/src/base/win32-headers.h
Lines 32 to 34 in 73ae2d1
There was a problem hiding this comment.
There was a problem hiding this comment.
I'm not at my laptop rn but if it's really just ifdef'ing it feel free to push that to this branch
src/backtrace_win32.cc
Outdated
| @@ -1,8 +1,41 @@ | |||
| #include "node.h" | |||
| #define _WIN32_WINNT 0x0600 | |||
There was a problem hiding this comment.
|
@refack Please take a look at the squashed commit and see if that’s what you had in mind. I don’t think this would be semver-major because it just aligns the actual values with what our documentation says but, uh, really not enough Windows knowledge to tell that for sure. |
|
Landed in 7d8fe7d |
PR-URL: #16951 Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
|
Just saw this. It looks 💯 to me. |
PR-URL: #16951 Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
PR-URL: #16951 Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
|
This was landed on Does it make sense to land on v6.x? If so please submit a manual backport, if not please change the label appropriately |
PR-URL: #16951 Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Checklist
make -j4 test(UNIX), orvcbuild test(Windows) passesAffected core subsystem(s)
src