Commit b1884b3a62

Rocknest <35231115+Rocknest@users.noreply.github.com>
2020-01-30 00:17:34
Fix aarch64
1 parent c0c9c60
Changed files (1)
lib
std
os
windows
lib/std/os/windows/bits.zig
@@ -1101,7 +1101,7 @@ pub usingnamespace switch (builtin.arch) {
             Wvr: [2]DWORD64,
 
             pub fn getRegs(ctx: *const CONTEXT) struct {bp: usize, ip: usize} {
-                return .{.bp = @intCast(usize, ctx.Fp), .ip = @intCast(usize, ctx.Pc)};
+                return .{.bp = @intCast(usize, ctx.DUMMYUNIONNAME.DUMMYSTRUCTNAME.Fp), .ip = @intCast(usize, ctx.Pc)};
             }
         };