projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Revert 106592 for now. It causes clang-selfhost build failure.
[oota-llvm.git]
/
lib
/
MC
/
MCAsmInfoCOFF.cpp
diff --git
a/lib/MC/MCAsmInfoCOFF.cpp
b/lib/MC/MCAsmInfoCOFF.cpp
index 1b27bf026ec70fbcb239d6a07d5eda7921030a78..7fc7d7abb232c8283ce663fe7dbfb1d60b68a4f8 100644
(file)
--- a/
lib/MC/MCAsmInfoCOFF.cpp
+++ b/
lib/MC/MCAsmInfoCOFF.cpp
@@
-18,21
+18,20
@@
using namespace llvm;
MCAsmInfoCOFF::MCAsmInfoCOFF() {
GlobalPrefix = "_";
MCAsmInfoCOFF::MCAsmInfoCOFF() {
GlobalPrefix = "_";
-
LCOMMDirective = "\t.lcomm\t"
;
-
COMMDirectiveTakesAlignment = fals
e;
+
COMMDirectiveAlignmentIsInBytes = false
;
+
HasLCOMMDirective = tru
e;
HasDotTypeDotSizeDirective = false;
HasSingleParameterDotFile = false;
HasDotTypeDotSizeDirective = false;
HasSingleParameterDotFile = false;
- HiddenDirective = NULL;
PrivateGlobalPrefix = "L"; // Prefix for private global symbols
WeakRefDirective = "\t.weak\t";
PrivateGlobalPrefix = "L"; // Prefix for private global symbols
WeakRefDirective = "\t.weak\t";
- LinkOnceDirective = "\t.linkonce same_size\n";
- SetDirective = "\t.set\t";
+ LinkOnceDirective = "\t.linkonce discard\n";
+
+ // Doesn't support visibility:
+ HiddenVisibilityAttr = ProtectedVisibilityAttr = MCSA_Invalid;
// Set up DWARF directives
HasLEB128 = true; // Target asm supports leb128 directives (little-endian)
// Set up DWARF directives
HasLEB128 = true; // Target asm supports leb128 directives (little-endian)
- AbsoluteDebugSectionOffsets = true;
- AbsoluteEHSectionOffsets = false;
SupportsDebugInformation = true;
DwarfSectionOffsetDirective = "\t.secrel32\t";
SupportsDebugInformation = true;
DwarfSectionOffsetDirective = "\t.secrel32\t";
+ HasMicrosoftFastStdCallMangling = true;
}
}
-