projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove unnecessary condition check.
[oota-llvm.git]
/
lib
/
MC
/
MCAsmInfoDarwin.cpp
diff --git
a/lib/MC/MCAsmInfoDarwin.cpp
b/lib/MC/MCAsmInfoDarwin.cpp
index fd155135df030b8655b0654c1d45c72a98086bc2..61fbd29a285728cf43e40d9e614b1273886d7e13 100644
(file)
--- a/
lib/MC/MCAsmInfoDarwin.cpp
+++ b/
lib/MC/MCAsmInfoDarwin.cpp
@@
-13,6
+13,9
@@
//===----------------------------------------------------------------------===//
#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;
MCAsmInfoDarwin::MCAsmInfoDarwin() {
using namespace llvm;
MCAsmInfoDarwin::MCAsmInfoDarwin() {
@@
-36,9
+39,17
@@
MCAsmInfoDarwin::MCAsmInfoDarwin() {
ZeroDirective = "\t.space\t"; // ".space N" emits N zeros.
HasMachoZeroFillDirective = true; // Uses .zerofill
HasMachoTBSSDirective = true; // Uses .tbss
ZeroDirective = "\t.space\t"; // ".space N" emits N zeros.
HasMachoZeroFillDirective = true; // Uses .zerofill
HasMachoTBSSDirective = true; // Uses .tbss
+ StructorOutputOrder = Structors::PriorityOrder;
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.
ProtectedVisibilityAttr = MCSA_Global;
// Doesn't support protected visibility.
ProtectedVisibilityAttr = MCSA_Global;
@@
-46,7
+57,6
@@
MCAsmInfoDarwin::MCAsmInfoDarwin() {
HasNoDeadStrip = true;
HasSymbolResolver = true;
HasNoDeadStrip = true;
HasSymbolResolver = true;
- Dwarf
UsesAbsoluteLabelForStmtLis
t = false;
+ Dwarf
RequiresRelocationForSectionOffse
t = false;
DwarfUsesLabelOffsetForRanges = false;
}
DwarfUsesLabelOffsetForRanges = false;
}
-