backtrace_win32: avoid using win32 wrappers
We have to be extraodinarily careful about what functions are called at this low level so it's easier to just avoid any protective wrappers.
This commit is contained in:
parent
1356391259
commit
a803a13e80
@ -50,7 +50,7 @@ debug::backtrace::backtrace (void)
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
std::ostream&
|
||||
debug::operator <<(std::ostream &os, const debug::backtrace &rhs) {
|
||||
static auto self = util::win32::handle::current_process ();
|
||||
static auto self = GetCurrentProcess ();
|
||||
static auto ready = SymInitialize (self, nullptr, TRUE);
|
||||
CHECK (ready);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user