Update stack traces testcases

This commit is contained in:
Koakuma 2020-10-28 17:46:26 +07:00
parent 2b87cc7ed3
commit 3a58b2330c

View file

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