update the stack trace test case for lines added to start.zig

This commit is contained in:
Andrew Kelley 2020-09-10 14:40:33 -07:00
parent 2315331d23
commit 800c5de2ae
2 changed files with 6 additions and 6 deletions

View File

@ -26,7 +26,7 @@ pub const SYS = extern enum(usize) {
mknod = 14,
chmod = 15,
lchown = 16,
sys_break = 17, // sys_ prepended to avoid clashing with keyword
@"break" = 17,
oldstat = 18,
lseek = 19,
getpid = 20,
@ -574,7 +574,7 @@ pub const vrregset = extern struct {
_pad1: [2]u32,
vscr_word_be: u32,
vrsave: u32,
_pad2: [3]u32
_pad2: [3]u32,
};
pub const vrregset_t = vrregset;
@ -588,7 +588,7 @@ pub const mcontext_t = extern struct {
gp_regs: gregset_t,
fp_regs: fpregset_t,
v_regs: *vrregset_t,
vmx_reserve: [34+34+32+1]i64,
vmx_reserve: [34 + 34 + 32 + 1]i64,
};
pub const ucontext_t = extern struct {

View File

@ -282,10 +282,10 @@ pub fn addCases(cases: *tests.StackTracesContext) void {
\\source.zig:10:8: [address] in main (test)
\\ foo();
\\ ^
\\start.zig:254:29: [address] in std.start.posixCallMainAndExit (test)
\\start.zig:269:29: [address] in std.start.posixCallMainAndExit (test)
\\ return root.main();
\\ ^
\\start.zig:128:5: [address] in std.start._start (test)
\\start.zig:143:5: [address] in std.start._start (test)
\\ @call(.{ .modifier = .never_inline }, posixCallMainAndExit, .{});
\\ ^
\\
@ -294,7 +294,7 @@ pub fn addCases(cases: *tests.StackTracesContext) void {
switch (std.Target.current.cpu.arch) {
.aarch64 => "", // TODO disabled; results in segfault
else =>
\\start.zig:128:5: [address] in std.start._start (test)
\\start.zig:143:5: [address] in std.start._start (test)
\\ @call(.{ .modifier = .never_inline }, posixCallMainAndExit, .{});
\\ ^
\\