projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove an argument that we dont use anymore.
[oota-llvm.git]
/
lib
/
MC
/
MCAsmInfoDarwin.cpp
diff --git
a/lib/MC/MCAsmInfoDarwin.cpp
b/lib/MC/MCAsmInfoDarwin.cpp
index 3c31caa5aca8170b5193f56e9b6c65abfc3d8547..a0e3ebad5e2bd47266bb9f67ec4d67cdf279ecf6 100644
(file)
--- a/
lib/MC/MCAsmInfoDarwin.cpp
+++ b/
lib/MC/MCAsmInfoDarwin.cpp
@@
-13,8
+13,13
@@
//===----------------------------------------------------------------------===//
#include "llvm/MC/MCAsmInfoDarwin.h"
//===----------------------------------------------------------------------===//
#include "llvm/MC/MCAsmInfoDarwin.h"
+#include "llvm/MC/MCContext.h"
+#include "llvm/MC/MCExpr.h"
+#include "llvm/MC/MCStreamer.h"
using namespace llvm;
using namespace llvm;
+void MCAsmInfoDarwin::anchor() { }
+
MCAsmInfoDarwin::MCAsmInfoDarwin() {
// Common settings for all Darwin targets.
// Syntax:
MCAsmInfoDarwin::MCAsmInfoDarwin() {
// Common settings for all Darwin targets.
// Syntax:
@@
-27,6
+32,7
@@
MCAsmInfoDarwin::MCAsmInfoDarwin() {
AlignmentIsInBytes = false;
COMMDirectiveAlignmentIsInBytes = false;
AlignmentIsInBytes = false;
COMMDirectiveAlignmentIsInBytes = false;
+ LCOMMDirectiveAlignmentType = LCOMM::Log2Alignment;
InlineAsmStart = " InlineAsm Start";
InlineAsmEnd = " InlineAsm End";
InlineAsmStart = " InlineAsm Start";
InlineAsmEnd = " InlineAsm End";
@@
-35,13
+41,24
@@
MCAsmInfoDarwin::MCAsmInfoDarwin() {
WeakRefDirective = "\t.weak_reference ";
ZeroDirective = "\t.space\t"; // ".space N" emits N zeros.
HasMachoZeroFillDirective = true; // Uses .zerofill
WeakRefDirective = "\t.weak_reference ";
ZeroDirective = "\t.space\t"; // ".space N" emits N zeros.
HasMachoZeroFillDirective = true; // Uses .zerofill
+ HasMachoTBSSDirective = true; // Uses .tbss
HasStaticCtorDtorReferenceInStaticMode = true;
HasStaticCtorDtorReferenceInStaticMode = true;
-
+
+ // FIXME: Darwin 10 and newer don't need this.
+ LinkerRequiresNonEmptyDwarfLines = true;
+
+ // FIXME: Change this once MC is the system assembler.
+ HasAggressiveSymbolFolding = false;
+
HiddenVisibilityAttr = MCSA_PrivateExtern;
HiddenVisibilityAttr = MCSA_PrivateExtern;
+ HiddenDeclarationVisibilityAttr = MCSA_Invalid;
+
// Doesn't support protected visibility.
// Doesn't support protected visibility.
- ProtectedVisibilityAttr = MCSA_
Global
;
-
+ ProtectedVisibilityAttr = MCSA_
Invalid
;
+
HasDotTypeDotSizeDirective = false;
HasNoDeadStrip = true;
HasDotTypeDotSizeDirective = false;
HasNoDeadStrip = true;
-}
+ HasSymbolResolver = true;
+ DwarfUsesRelocationsAcrossSections = false;
+}