Skip to content

Commit

Permalink
[PPC64] Fix PPC64TargetInfo after D61950
Browse files Browse the repository at this point in the history
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@361363 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
MaskRay committed May 22, 2019
1 parent 75e09b3 commit 53982b4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/Basic/Targets/PPC.h
Original file line number Diff line number Diff line change
Expand Up @@ -382,6 +382,7 @@ class LLVM_LIBRARY_VISIBILITY PPC64TargetInfo : public PPCTargetInfo {
} else {
resetDataLayout("E-m:e-i64:64-n32:64");
}
ABI = Triple.getEnvironment() == llvm::Triple::ELFv1 ? "elfv1" : "elfv2";

switch (Triple.getOS()) {
case llvm::Triple::FreeBSD:
Expand Down

0 comments on commit 53982b4

Please sign in to comment.