Commit d044da8
committed
[PowerPC] Take ABI into account for data layout
Prior to this change, the data layout calculation would not account for
explicitly set -mabi=elfv2 on powerpc64-unknown-linux-gnu, a target that
defaults to elfv1.
Signed-off-by: Jens Reidel <[email protected]>1 parent a49bfbe commit d044da8
File tree
4 files changed
+43
-22
lines changed- clang
- lib/Basic/Targets
- test/CodeGen/PowerPC
- llvm/lib
- TargetParser
- Target/PowerPC
4 files changed
+43
-22
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
445 | 445 | | |
446 | 446 | | |
447 | 447 | | |
448 | | - | |
449 | 448 | | |
450 | 449 | | |
451 | 450 | | |
452 | | - | |
453 | 451 | | |
454 | 452 | | |
455 | 453 | | |
456 | | - | |
457 | | - | |
| 454 | + | |
| 455 | + | |
458 | 456 | | |
459 | 457 | | |
460 | | - | |
461 | | - | |
462 | | - | |
463 | | - | |
464 | | - | |
465 | | - | |
466 | | - | |
467 | | - | |
468 | | - | |
| 458 | + | |
469 | 459 | | |
470 | 460 | | |
471 | 461 | | |
472 | 462 | | |
473 | 463 | | |
474 | 464 | | |
475 | 465 | | |
476 | | - | |
477 | | - | |
478 | | - | |
479 | | - | |
480 | 466 | | |
481 | 467 | | |
482 | 468 | | |
483 | 469 | | |
| 470 | + | |
| 471 | + | |
484 | 472 | | |
485 | 473 | | |
486 | 474 | | |
| |||
495 | 483 | | |
496 | 484 | | |
497 | 485 | | |
| 486 | + | |
| 487 | + | |
| 488 | + | |
| 489 | + | |
| 490 | + | |
| 491 | + | |
| 492 | + | |
| 493 | + | |
| 494 | + | |
| 495 | + | |
| 496 | + | |
| 497 | + | |
| 498 | + | |
| 499 | + | |
| 500 | + | |
| 501 | + | |
| 502 | + | |
| 503 | + | |
| 504 | + | |
| 505 | + | |
| 506 | + | |
| 507 | + | |
498 | 508 | | |
499 | 509 | | |
500 | 510 | | |
501 | 511 | | |
| 512 | + | |
502 | 513 | | |
503 | 514 | | |
504 | 515 | | |
| |||
Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
296 | 296 | | |
297 | 297 | | |
298 | 298 | | |
299 | | - | |
300 | | - | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
301 | 302 | | |
302 | 303 | | |
303 | 304 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
208 | 208 | | |
209 | 209 | | |
210 | 210 | | |
211 | | - | |
| 211 | + | |
212 | 212 | | |
213 | 213 | | |
214 | 214 | | |
| |||
228 | 228 | | |
229 | 229 | | |
230 | 230 | | |
231 | | - | |
| 231 | + | |
| 232 | + | |
232 | 233 | | |
233 | 234 | | |
234 | 235 | | |
| |||
573 | 574 | | |
574 | 575 | | |
575 | 576 | | |
576 | | - | |
| 577 | + | |
577 | 578 | | |
578 | 579 | | |
579 | 580 | | |
| |||
0 commit comments