-mx32 flag setup target environment to GNUX32 and can be used for
other 32/64-bit triplets (i386-unknown-linux, x86_64-unknown-linux) to
turn on x32 mode. Compatible with GCC -mx32 flag.
Details
Details
- Reviewers
chandlerc atanasyan - Commits
- rG3d163874138f: [PATCH] [x32] Introduce -mx32 flag enforcing x32 mode for other triplets. By…
rC212817: [PATCH] [x32] Introduce -mx32 flag enforcing x32 mode for other triplets. By…
rL212817: [PATCH] [x32] Introduce -mx32 flag enforcing x32 mode for other triplets. By…
Diff Detail
Diff Detail
Event Timeline
Comment Actions
LGTM with a small nit
lib/Driver/Driver.cpp | ||
---|---|---|
1925 | AFAIK the -mx32 is applicable to X86/x86_64 targets only. Let's ignore it for other targets. As to me I would prefer to show an error if -m16 or -mx32 provided for any targets except X86/x86_64. But that is another story. |
AFAIK the -mx32 is applicable to X86/x86_64 targets only. Let's ignore it for other targets. As to me I would prefer to show an error if -m16 or -mx32 provided for any targets except X86/x86_64. But that is another story.