forked from OSchip/llvm-project
Silence clang warning: missing field 'Dr0' initializer.
llvm-svn: 235719
This commit is contained in:
parent
1202f36b10
commit
500f376428
|
@ -404,7 +404,8 @@ extern "C" VOID WINAPI RtlCaptureContext(PCONTEXT ContextRecord);
|
|||
void llvm::sys::PrintStackTrace(raw_ostream &OS) {
|
||||
|
||||
STACKFRAME64 StackFrame = {};
|
||||
CONTEXT Context = {0};
|
||||
CONTEXT Context;
|
||||
memset(&Context, 0, sizeof(Context));
|
||||
::RtlCaptureContext(&Context);
|
||||
#if defined(_M_X64)
|
||||
StackFrame.AddrPC.Offset = Context.Rip;
|
||||
|
|
Loading…
Reference in New Issue