This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG4b09cb2b16eb: [PowerPC] Correctly use ELFv2 ABI on all
OSs that use the ELFv2 ABI (authored by brad).
Repository:
rG LLVM Github Monorepo
nemanjai accepted this revision.
nemanjai added a comment.
Thanks for doing this. LGTM.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D144321/new/
https://reviews.llvm.org/D144321
___
cfe-commits mailing
dim accepted this revision.
dim added a comment.
Yeah, this looks quite a bit nicer, and should be more maintainable. Thanks.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D144321/new/
https://reviews.llvm.org/D144321
brad updated this revision to Diff 498748.
Herald added a subscriber: MaskRay.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D144321/new/
https://reviews.llvm.org/D144321
Files:
clang/lib/Basic/Targets/PPC.h
clang/lib/Driver/ToolChains/Clang.cpp
brad marked an inline comment as done.
brad added inline comments.
Comment at: clang/lib/Basic/Targets/PPC.h:430-432
+ if ((Triple.isOSFreeBSD() && (Triple.getOSVersion().empty() ||
+Triple.getOSMajorVersion() >= 13)) ||
+
nemanjai added inline comments.
Comment at: clang/lib/Basic/Targets/PPC.h:430-432
+ if ((Triple.isOSFreeBSD() && (Triple.getOSVersion().empty() ||
+Triple.getOSMajorVersion() >= 13)) ||
+ Triple.isOSOpenBSD() || Triple.isMusl())
brad marked 2 inline comments as done.
brad added inline comments.
Comment at: clang/lib/Basic/Targets/PPC.h:432
+ Triple.getOSMajorVersion() >= 13)) || Triple.isOSOpenBSD() ||
+ Triple.isMusl())
+ABI = "elfv2";
dim wrote:
>
brad updated this revision to Diff 498648.
brad added a comment.
reformatting.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D144321/new/
https://reviews.llvm.org/D144321
Files:
clang/lib/Basic/Targets/PPC.h
dim accepted this revision.
dim added a comment.
This revision is now accepted and ready to land.
LGTM, some minor clang-format nits, but these aren't critical (to me at least :)
Comment at: clang/lib/Basic/Targets/PPC.h:432
+ Triple.getOSMajorVersion() >= 13)) ||
brad updated this revision to Diff 498642.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D144321/new/
https://reviews.llvm.org/D144321
Files:
clang/lib/Basic/Targets/PPC.h
llvm/lib/Target/PowerPC/PPCTargetMachine.cpp
brad created this revision.
brad added a reviewer: adalava.
brad added a project: LLVM.
Herald added subscribers: shchenz, kbarton, hiraditya, nemanjai.
Herald added a project: All.
brad requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.
I
11 matches
Mail list logo