Commit 997a719
committed
PR48434: Work around crashes due to deserialization cycles via typedefs.
Ensure that we can deserialize a TypedefType even while in the middle of
deserializing its TypedefDecl, by removing the need to look at the
TypedefDecl while constructing the TypedefType.
This fixes all the currently-known failures for PR48434, but it's not a
complete fix, because we can still trigger deserialization cycles, which
are not supposed to happen.1 parent baef18d commit 997a719
File tree
7 files changed
+40
-13
lines changed- clang
- include/clang/AST
- lib/AST
- test/PCH
7 files changed
+40
-13
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1430 | 1430 | | |
1431 | 1431 | | |
1432 | 1432 | | |
1433 | | - | |
| 1433 | + | |
1434 | 1434 | | |
1435 | 1435 | | |
1436 | 1436 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4362 | 4362 | | |
4363 | 4363 | | |
4364 | 4364 | | |
4365 | | - | |
| 4365 | + | |
4366 | 4366 | | |
4367 | 4367 | | |
4368 | | - | |
| 4368 | + | |
| 4369 | + | |
4369 | 4370 | | |
4370 | 4371 | | |
4371 | 4372 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
484 | 484 | | |
485 | 485 | | |
486 | 486 | | |
487 | | - | |
488 | | - | |
| 487 | + | |
| 488 | + | |
| 489 | + | |
| 490 | + | |
| 491 | + | |
| 492 | + | |
489 | 493 | | |
490 | 494 | | |
491 | 495 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4449 | 4449 | | |
4450 | 4450 | | |
4451 | 4451 | | |
4452 | | - | |
4453 | | - | |
4454 | | - | |
| 4452 | + | |
| 4453 | + | |
4455 | 4454 | | |
4456 | 4455 | | |
4457 | | - | |
4458 | | - | |
| 4456 | + | |
| 4457 | + | |
| 4458 | + | |
4459 | 4459 | | |
4460 | | - | |
| 4460 | + | |
4461 | 4461 | | |
4462 | 4462 | | |
4463 | 4463 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3369 | 3369 | | |
3370 | 3370 | | |
3371 | 3371 | | |
3372 | | - | |
3373 | | - | |
| 3372 | + | |
| 3373 | + | |
| 3374 | + | |
3374 | 3375 | | |
3375 | 3376 | | |
3376 | 3377 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
180 | 180 | | |
181 | 181 | | |
182 | 182 | | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
456 | 456 | | |
457 | 457 | | |
458 | 458 | | |
| 459 | + | |
| 460 | + | |
| 461 | + | |
| 462 | + | |
| 463 | + | |
| 464 | + | |
| 465 | + | |
| 466 | + | |
| 467 | + | |
| 468 | + | |
| 469 | + | |
| 470 | + | |
| 471 | + | |
| 472 | + | |
| 473 | + | |
| 474 | + | |
0 commit comments