summaryrefslogtreecommitdiff
path: root/lib/Target/PowerPC/MCTargetDesc/PPCMCAsmInfo.h
diff options
context:
space:
mode:
authorTom Stellard <thomas.stellard@amd.com>2014-04-11 19:35:34 +0000
committerTom Stellard <thomas.stellard@amd.com>2014-04-11 19:35:34 +0000
commitad17ccef24b2078275201d62c1feaa1aad6be8e3 (patch)
tree27304de6b39e9318348ae57958269a4db80facf5 /lib/Target/PowerPC/MCTargetDesc/PPCMCAsmInfo.h
parentebe4eae0b3bbf7fc7b011cc7ff7a08afe37e92a0 (diff)
downloadllvm-ad17ccef24b2078275201d62c1feaa1aad6be8e3.tar.gz
llvm-ad17ccef24b2078275201d62c1feaa1aad6be8e3.tar.bz2
llvm-ad17ccef24b2078275201d62c1feaa1aad6be8e3.tar.xz
Merging r196970:
------------------------------------------------------------------------ r196970 | fang | 2013-12-10 16:37:41 -0500 (Tue, 10 Dec 2013) | 3 lines on darwin<10, fallback to .weak_definition (PPC,X86) .weak_def_can_be_hidden was not yet supported by the system assembler ------------------------------------------------------------------------ git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_34@206050 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/PowerPC/MCTargetDesc/PPCMCAsmInfo.h')
-rw-r--r--lib/Target/PowerPC/MCTargetDesc/PPCMCAsmInfo.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/Target/PowerPC/MCTargetDesc/PPCMCAsmInfo.h b/lib/Target/PowerPC/MCTargetDesc/PPCMCAsmInfo.h
index 1530e774cf..633970ccc2 100644
--- a/lib/Target/PowerPC/MCTargetDesc/PPCMCAsmInfo.h
+++ b/lib/Target/PowerPC/MCTargetDesc/PPCMCAsmInfo.h
@@ -18,11 +18,15 @@
#include "llvm/MC/MCAsmInfoELF.h"
namespace llvm {
+class Triple;
class PPCMCAsmInfoDarwin : public MCAsmInfoDarwin {
virtual void anchor();
public:
+ /// This version of the constructor is here to maintain ABI compatibility
+ /// with LLVM 3.4.0.
explicit PPCMCAsmInfoDarwin(bool is64Bit);
+ explicit PPCMCAsmInfoDarwin(bool is64Bit, const Triple&);
};
class PPCLinuxMCAsmInfo : public MCAsmInfoELF {