| ... | @@ -51,11 +51,15 @@ pub fn addCases(cases: *tests.StackTracesContext) void { | ... | @@ -51,11 +51,15 @@ pub fn addCases(cases: *tests.StackTracesContext) void { |
| 51 | // debug | 51 | // debug |
| 52 | \\error: TheSkyIsFalling | 52 | \\error: TheSkyIsFalling |
| 53 | \\source.zig:4:5: [address] in main (test) | 53 | \\source.zig:4:5: [address] in main (test) |
| | 54 | \\ return error.TheSkyIsFalling; |
| | 55 | \\ ^ |
| 54 | \\ | 56 | \\ |
| 55 | , | 57 | , |
| 56 | // release-safe | 58 | // release-safe |
| 57 | \\error: TheSkyIsFalling | 59 | \\error: TheSkyIsFalling |
| 58 | \\source.zig:4:5: [address] in std.start.main (test) | 60 | \\source.zig:4:5: [address] in std.start.main (test) |
| | 61 | \\ return error.TheSkyIsFalling; |
| | 62 | \\ ^ |
| 59 | \\ | 63 | \\ |
| 60 | , | 64 | , |
| 61 | // release-fast | 65 | // release-fast |
| ... | @@ -74,13 +78,21 @@ pub fn addCases(cases: *tests.StackTracesContext) void { | ... | @@ -74,13 +78,21 @@ pub fn addCases(cases: *tests.StackTracesContext) void { |
| 74 | // debug | 78 | // debug |
| 75 | \\error: TheSkyIsFalling | 79 | \\error: TheSkyIsFalling |
| 76 | \\source.zig:4:5: [address] in foo (test) | 80 | \\source.zig:4:5: [address] in foo (test) |
| | 81 | \\ return error.TheSkyIsFalling; |
| | 82 | \\ ^ |
| 77 | \\source.zig:8:5: [address] in main (test) | 83 | \\source.zig:8:5: [address] in main (test) |
| | 84 | \\ try foo(); |
| | 85 | \\ ^ |
| 78 | \\ | 86 | \\ |
| 79 | , | 87 | , |
| 80 | // release-safe | 88 | // release-safe |
| 81 | \\error: TheSkyIsFalling | 89 | \\error: TheSkyIsFalling |
| 82 | \\source.zig:4:5: [address] in std.start.main (test) | 90 | \\source.zig:4:5: [address] in std.start.main (test) |
| | 91 | \\ return error.TheSkyIsFalling; |
| | 92 | \\ ^ |
| 83 | \\source.zig:8:5: [address] in std.start.main (test) | 93 | \\source.zig:8:5: [address] in std.start.main (test) |
| | 94 | \\ try foo(); |
| | 95 | \\ ^ |
| 84 | \\ | 96 | \\ |
| 85 | , | 97 | , |
| 86 | // release-fast | 98 | // release-fast |
| ... | @@ -99,17 +111,33 @@ pub fn addCases(cases: *tests.StackTracesContext) void { | ... | @@ -99,17 +111,33 @@ pub fn addCases(cases: *tests.StackTracesContext) void { |
| 99 | // debug | 111 | // debug |
| 100 | \\error: TheSkyIsFalling | 112 | \\error: TheSkyIsFalling |
| 101 | \\source.zig:12:5: [address] in make_error (test) | 113 | \\source.zig:12:5: [address] in make_error (test) |
| | 114 | \\ return error.TheSkyIsFalling; |
| | 115 | \\ ^ |
| 102 | \\source.zig:8:5: [address] in bar (test) | 116 | \\source.zig:8:5: [address] in bar (test) |
| | 117 | \\ return make_error(); |
| | 118 | \\ ^ |
| 103 | \\source.zig:4:5: [address] in foo (test) | 119 | \\source.zig:4:5: [address] in foo (test) |
| | 120 | \\ try bar(); |
| | 121 | \\ ^ |
| 104 | \\source.zig:16:5: [address] in main (test) | 122 | \\source.zig:16:5: [address] in main (test) |
| | 123 | \\ try foo(); |
| | 124 | \\ ^ |
| 105 | \\ | 125 | \\ |
| 106 | , | 126 | , |
| 107 | // release-safe | 127 | // release-safe |
| 108 | \\error: TheSkyIsFalling | 128 | \\error: TheSkyIsFalling |
| 109 | \\source.zig:12:5: [address] in std.start.main (test) | 129 | \\source.zig:12:5: [address] in std.start.main (test) |
| | 130 | \\ return error.TheSkyIsFalling; |
| | 131 | \\ ^ |
| 110 | \\source.zig:8:5: [address] in std.start.main (test) | 132 | \\source.zig:8:5: [address] in std.start.main (test) |
| | 133 | \\ return make_error(); |
| | 134 | \\ ^ |
| 111 | \\source.zig:4:5: [address] in std.start.main (test) | 135 | \\source.zig:4:5: [address] in std.start.main (test) |
| | 136 | \\ try bar(); |
| | 137 | \\ ^ |
| 112 | \\source.zig:16:5: [address] in std.start.main (test) | 138 | \\source.zig:16:5: [address] in std.start.main (test) |
| | 139 | \\ try foo(); |
| | 140 | \\ ^ |
| 113 | \\ | 141 | \\ |
| 114 | , | 142 | , |
| 115 | // release-fast | 143 | // release-fast |
| ... | @@ -130,11 +158,15 @@ pub fn addCases(cases: *tests.StackTracesContext) void { | ... | @@ -130,11 +158,15 @@ pub fn addCases(cases: *tests.StackTracesContext) void { |
| 130 | // debug | 158 | // debug |
| 131 | \\error: TheSkyIsFalling | 159 | \\error: TheSkyIsFalling |
| 132 | \\source.zig:4:5: [address] in main (test) | 160 | \\source.zig:4:5: [address] in main (test) |
| | 161 | \\ return error.TheSkyIsFalling; |
| | 162 | \\ ^ |
| 133 | \\ | 163 | \\ |
| 134 | , | 164 | , |
| 135 | // release-safe | 165 | // release-safe |
| 136 | \\error: TheSkyIsFalling | 166 | \\error: TheSkyIsFalling |
| 137 | \\source.zig:4:5: [address] in std.start.posixCallMainAndExit (test) | 167 | \\source.zig:4:5: [address] in std.start.posixCallMainAndExit (test) |
| | 168 | \\ return error.TheSkyIsFalling; |
| | 169 | \\ ^ |
| 138 | \\ | 170 | \\ |
| 139 | , | 171 | , |
| 140 | // release-fast | 172 | // release-fast |
| ... | @@ -153,13 +185,21 @@ pub fn addCases(cases: *tests.StackTracesContext) void { | ... | @@ -153,13 +185,21 @@ pub fn addCases(cases: *tests.StackTracesContext) void { |
| 153 | // debug | 185 | // debug |
| 154 | \\error: TheSkyIsFalling | 186 | \\error: TheSkyIsFalling |
| 155 | \\source.zig:4:5: [address] in foo (test) | 187 | \\source.zig:4:5: [address] in foo (test) |
| | 188 | \\ return error.TheSkyIsFalling; |
| | 189 | \\ ^ |
| 156 | \\source.zig:8:5: [address] in main (test) | 190 | \\source.zig:8:5: [address] in main (test) |
| | 191 | \\ try foo(); |
| | 192 | \\ ^ |
| 157 | \\ | 193 | \\ |
| 158 | , | 194 | , |
| 159 | // release-safe | 195 | // release-safe |
| 160 | \\error: TheSkyIsFalling | 196 | \\error: TheSkyIsFalling |
| 161 | \\source.zig:4:5: [address] in std.start.posixCallMainAndExit (test) | 197 | \\source.zig:4:5: [address] in std.start.posixCallMainAndExit (test) |
| | 198 | \\ return error.TheSkyIsFalling; |
| | 199 | \\ ^ |
| 162 | \\source.zig:8:5: [address] in std.start.posixCallMainAndExit (test) | 200 | \\source.zig:8:5: [address] in std.start.posixCallMainAndExit (test) |
| | 201 | \\ try foo(); |
| | 202 | \\ ^ |
| 163 | \\ | 203 | \\ |
| 164 | , | 204 | , |
| 165 | // release-fast | 205 | // release-fast |
| ... | @@ -178,17 +218,33 @@ pub fn addCases(cases: *tests.StackTracesContext) void { | ... | @@ -178,17 +218,33 @@ pub fn addCases(cases: *tests.StackTracesContext) void { |
| 178 | // debug | 218 | // debug |
| 179 | \\error: TheSkyIsFalling | 219 | \\error: TheSkyIsFalling |
| 180 | \\source.zig:12:5: [address] in make_error (test) | 220 | \\source.zig:12:5: [address] in make_error (test) |
| | 221 | \\ return error.TheSkyIsFalling; |
| | 222 | \\ ^ |
| 181 | \\source.zig:8:5: [address] in bar (test) | 223 | \\source.zig:8:5: [address] in bar (test) |
| | 224 | \\ return make_error(); |
| | 225 | \\ ^ |
| 182 | \\source.zig:4:5: [address] in foo (test) | 226 | \\source.zig:4:5: [address] in foo (test) |
| | 227 | \\ try bar(); |
| | 228 | \\ ^ |
| 183 | \\source.zig:16:5: [address] in main (test) | 229 | \\source.zig:16:5: [address] in main (test) |
| | 230 | \\ try foo(); |
| | 231 | \\ ^ |
| 184 | \\ | 232 | \\ |
| 185 | , | 233 | , |
| 186 | // release-safe | 234 | // release-safe |
| 187 | \\error: TheSkyIsFalling | 235 | \\error: TheSkyIsFalling |
| 188 | \\source.zig:12:5: [address] in std.start.posixCallMainAndExit (test) | 236 | \\source.zig:12:5: [address] in std.start.posixCallMainAndExit (test) |
| | 237 | \\ return error.TheSkyIsFalling; |
| | 238 | \\ ^ |
| 189 | \\source.zig:8:5: [address] in std.start.posixCallMainAndExit (test) | 239 | \\source.zig:8:5: [address] in std.start.posixCallMainAndExit (test) |
| | 240 | \\ return make_error(); |
| | 241 | \\ ^ |
| 190 | \\source.zig:4:5: [address] in std.start.posixCallMainAndExit (test) | 242 | \\source.zig:4:5: [address] in std.start.posixCallMainAndExit (test) |
| | 243 | \\ try bar(); |
| | 244 | \\ ^ |
| 191 | \\source.zig:16:5: [address] in std.start.posixCallMainAndExit (test) | 245 | \\source.zig:16:5: [address] in std.start.posixCallMainAndExit (test) |
| | 246 | \\ try foo(); |
| | 247 | \\ ^ |
| 192 | \\ | 248 | \\ |
| 193 | , | 249 | , |
| 194 | // release-fast | 250 | // release-fast |
| ... | @@ -209,11 +265,15 @@ pub fn addCases(cases: *tests.StackTracesContext) void { | ... | @@ -209,11 +265,15 @@ pub fn addCases(cases: *tests.StackTracesContext) void { |
| 209 | // debug | 265 | // debug |
| 210 | \\error: TheSkyIsFalling | 266 | \\error: TheSkyIsFalling |
| 211 | \\source.zig:4:5: [address] in _main.0 (test.o) | 267 | \\source.zig:4:5: [address] in _main.0 (test.o) |
| | 268 | \\ return error.TheSkyIsFalling; |
| | 269 | \\ ^ |
| 212 | \\ | 270 | \\ |
| 213 | , | 271 | , |
| 214 | // release-safe | 272 | // release-safe |
| 215 | \\error: TheSkyIsFalling | 273 | \\error: TheSkyIsFalling |
| 216 | \\source.zig:4:5: [address] in _main (test.o) | 274 | \\source.zig:4:5: [address] in _main (test.o) |
| | 275 | \\ return error.TheSkyIsFalling; |
| | 276 | \\ ^ |
| 217 | \\ | 277 | \\ |
| 218 | , | 278 | , |
| 219 | // release-fast | 279 | // release-fast |
| ... | @@ -232,13 +292,21 @@ pub fn addCases(cases: *tests.StackTracesContext) void { | ... | @@ -232,13 +292,21 @@ pub fn addCases(cases: *tests.StackTracesContext) void { |
| 232 | // debug | 292 | // debug |
| 233 | \\error: TheSkyIsFalling | 293 | \\error: TheSkyIsFalling |
| 234 | \\source.zig:4:5: [address] in _foo (test.o) | 294 | \\source.zig:4:5: [address] in _foo (test.o) |
| | 295 | \\ return error.TheSkyIsFalling; |
| | 296 | \\ ^ |
| 235 | \\source.zig:8:5: [address] in _main.0 (test.o) | 297 | \\source.zig:8:5: [address] in _main.0 (test.o) |
| | 298 | \\ try foo(); |
| | 299 | \\ ^ |
| 236 | \\ | 300 | \\ |
| 237 | , | 301 | , |
| 238 | // release-safe | 302 | // release-safe |
| 239 | \\error: TheSkyIsFalling | 303 | \\error: TheSkyIsFalling |
| 240 | \\source.zig:4:5: [address] in _main (test.o) | 304 | \\source.zig:4:5: [address] in _main (test.o) |
| | 305 | \\ return error.TheSkyIsFalling; |
| | 306 | \\ ^ |
| 241 | \\source.zig:8:5: [address] in _main (test.o) | 307 | \\source.zig:8:5: [address] in _main (test.o) |
| | 308 | \\ try foo(); |
| | 309 | \\ ^ |
| 242 | \\ | 310 | \\ |
| 243 | , | 311 | , |
| 244 | // release-fast | 312 | // release-fast |
| ... | @@ -257,17 +325,33 @@ pub fn addCases(cases: *tests.StackTracesContext) void { | ... | @@ -257,17 +325,33 @@ pub fn addCases(cases: *tests.StackTracesContext) void { |
| 257 | // debug | 325 | // debug |
| 258 | \\error: TheSkyIsFalling | 326 | \\error: TheSkyIsFalling |
| 259 | \\source.zig:12:5: [address] in _make_error (test.o) | 327 | \\source.zig:12:5: [address] in _make_error (test.o) |
| | 328 | \\ return error.TheSkyIsFalling; |
| | 329 | \\ ^ |
| 260 | \\source.zig:8:5: [address] in _bar (test.o) | 330 | \\source.zig:8:5: [address] in _bar (test.o) |
| | 331 | \\ return make_error(); |
| | 332 | \\ ^ |
| 261 | \\source.zig:4:5: [address] in _foo (test.o) | 333 | \\source.zig:4:5: [address] in _foo (test.o) |
| | 334 | \\ try bar(); |
| | 335 | \\ ^ |
| 262 | \\source.zig:16:5: [address] in _main.0 (test.o) | 336 | \\source.zig:16:5: [address] in _main.0 (test.o) |
| | 337 | \\ try foo(); |
| | 338 | \\ ^ |
| 263 | \\ | 339 | \\ |
| 264 | , | 340 | , |
| 265 | // release-safe | 341 | // release-safe |
| 266 | \\error: TheSkyIsFalling | 342 | \\error: TheSkyIsFalling |
| 267 | \\source.zig:12:5: [address] in _main (test.o) | 343 | \\source.zig:12:5: [address] in _main (test.o) |
| | 344 | \\ return error.TheSkyIsFalling; |
| | 345 | \\ ^ |
| 268 | \\source.zig:8:5: [address] in _main (test.o) | 346 | \\source.zig:8:5: [address] in _main (test.o) |
| | 347 | \\ return make_error(); |
| | 348 | \\ ^ |
| 269 | \\source.zig:4:5: [address] in _main (test.o) | 349 | \\source.zig:4:5: [address] in _main (test.o) |
| | 350 | \\ try bar(); |
| | 351 | \\ ^ |
| 270 | \\source.zig:16:5: [address] in _main (test.o) | 352 | \\source.zig:16:5: [address] in _main (test.o) |
| | 353 | \\ try foo(); |
| | 354 | \\ ^ |
| 271 | \\ | 355 | \\ |
| 272 | , | 356 | , |
| 273 | // release-fast | 357 | // release-fast |
| ... | @@ -288,6 +372,8 @@ pub fn addCases(cases: *tests.StackTracesContext) void { | ... | @@ -288,6 +372,8 @@ pub fn addCases(cases: *tests.StackTracesContext) void { |
| 288 | // debug | 372 | // debug |
| 289 | \\error: TheSkyIsFalling | 373 | \\error: TheSkyIsFalling |
| 290 | \\source.zig:4:5: [address] in main (test.obj) | 374 | \\source.zig:4:5: [address] in main (test.obj) |
| | 375 | \\ return error.TheSkyIsFalling; |
| | 376 | \\ ^ |
| 291 | \\ | 377 | \\ |
| 292 | , | 378 | , |
| 293 | // release-safe | 379 | // release-safe |
| ... | @@ -309,7 +395,11 @@ pub fn addCases(cases: *tests.StackTracesContext) void { | ... | @@ -309,7 +395,11 @@ pub fn addCases(cases: *tests.StackTracesContext) void { |
| 309 | // debug | 395 | // debug |
| 310 | \\error: TheSkyIsFalling | 396 | \\error: TheSkyIsFalling |
| 311 | \\source.zig:4:5: [address] in foo (test.obj) | 397 | \\source.zig:4:5: [address] in foo (test.obj) |
| | 398 | \\ return error.TheSkyIsFalling; |
| | 399 | \\ ^ |
| 312 | \\source.zig:8:5: [address] in main (test.obj) | 400 | \\source.zig:8:5: [address] in main (test.obj) |
| | 401 | \\ try foo(); |
| | 402 | \\ ^ |
| 313 | \\ | 403 | \\ |
| 314 | , | 404 | , |
| 315 | // release-safe | 405 | // release-safe |
| ... | @@ -331,9 +421,17 @@ pub fn addCases(cases: *tests.StackTracesContext) void { | ... | @@ -331,9 +421,17 @@ pub fn addCases(cases: *tests.StackTracesContext) void { |
| 331 | // debug | 421 | // debug |
| 332 | \\error: TheSkyIsFalling | 422 | \\error: TheSkyIsFalling |
| 333 | \\source.zig:12:5: [address] in make_error (test.obj) | 423 | \\source.zig:12:5: [address] in make_error (test.obj) |
| | 424 | \\ return error.TheSkyIsFalling; |
| | 425 | \\ ^ |
| 334 | \\source.zig:8:5: [address] in bar (test.obj) | 426 | \\source.zig:8:5: [address] in bar (test.obj) |
| | 427 | \\ return make_error(); |
| | 428 | \\ ^ |
| 335 | \\source.zig:4:5: [address] in foo (test.obj) | 429 | \\source.zig:4:5: [address] in foo (test.obj) |
| | 430 | \\ try bar(); |
| | 431 | \\ ^ |
| 336 | \\source.zig:16:5: [address] in main (test.obj) | 432 | \\source.zig:16:5: [address] in main (test.obj) |
| | 433 | \\ try foo(); |
| | 434 | \\ ^ |
| 337 | \\ | 435 | \\ |
| 338 | , | 436 | , |
| 339 | // release-safe | 437 | // release-safe |