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
+3 -3
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, .{});
\\ ^
\\