aboutsummaryrefslogtreecommitdiffstats
path: root/lib/MC/TargetAsmBackend.cpp
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2010-03-18 00:58:53 +0000
committerDaniel Dunbar <daniel@zuster.org>2010-03-18 00:58:53 +0000
commita089a352c0fe36a78b781e16f608f4e5d335ca72 (patch)
tree184ca41be38fff4489a4b0bfdb9d61c308d0de1d /lib/MC/TargetAsmBackend.cpp
parentc66e78f345a4ab7b5223dc0dc48afe58e227d197 (diff)
downloadexternal_llvm-a089a352c0fe36a78b781e16f608f4e5d335ca72.zip
external_llvm-a089a352c0fe36a78b781e16f608f4e5d335ca72.tar.gz
external_llvm-a089a352c0fe36a78b781e16f608f4e5d335ca72.tar.bz2
MC/Darwin: Add a new target hook for whether the target uses "reliable" symbol differences, basically whether the assembler should attempt to understand atoms when using scattered symbols.
Also, avoid some virtual call overhead. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98789 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/MC/TargetAsmBackend.cpp')
-rw-r--r--lib/MC/TargetAsmBackend.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/MC/TargetAsmBackend.cpp b/lib/MC/TargetAsmBackend.cpp
index 918d272..bbfddbe 100644
--- a/lib/MC/TargetAsmBackend.cpp
+++ b/lib/MC/TargetAsmBackend.cpp
@@ -11,7 +11,10 @@
using namespace llvm;
TargetAsmBackend::TargetAsmBackend(const Target &T)
- : TheTarget(T)
+ : TheTarget(T),
+ HasAbsolutizedSet(false),
+ HasReliableSymbolDifference(false),
+ HasScatteredSymbols(false)
{
}