projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
- Don't schedule nodes with only MVT::Flag and MVT::Other values for latency.
[oota-llvm.git]
/
lib
/
Target
/
TargetLoweringObjectFile.cpp
diff --git
a/lib/Target/TargetLoweringObjectFile.cpp
b/lib/Target/TargetLoweringObjectFile.cpp
index 44722b39e311497bc5bc6c8ddf65e9d07399dd0c..0e67fe5d9877be59ef67df74e44bb328bfdaacef 100644
(file)
--- a/
lib/Target/TargetLoweringObjectFile.cpp
+++ b/
lib/Target/TargetLoweringObjectFile.cpp
@@
-45,6
+45,7
@@
TargetLoweringObjectFile::TargetLoweringObjectFile() : Ctx(0) {
LSDASection = 0;
EHFrameSection = 0;
LSDASection = 0;
EHFrameSection = 0;
+ CommDirectiveSupportsAlignment = true;
DwarfAbbrevSection = 0;
DwarfInfoSection = 0;
DwarfLineSection = 0;
DwarfAbbrevSection = 0;
DwarfInfoSection = 0;
DwarfLineSection = 0;
@@
-101,7
+102,7
@@
static bool IsNullTerminatedString(const Constant *C) {
ConstantInt *Null =
dyn_cast<ConstantInt>(CVA->getOperand(ATy->getNumElements()-1));
ConstantInt *Null =
dyn_cast<ConstantInt>(CVA->getOperand(ATy->getNumElements()-1));
- if (Null == 0 ||
Null->getZExtValue() != 0
)
+ if (Null == 0 ||
!Null->isZero()
)
return false; // Not null terminated.
// Verify that the null doesn't occur anywhere else in the string.
return false; // Not null terminated.
// Verify that the null doesn't occur anywhere else in the string.
@@
-310,7
+311,7
@@
getExprForDwarfReference(const MCSymbol *Sym, Mangler *Mang,
switch (Encoding & 0xF0) {
default:
switch (Encoding & 0xF0) {
default:
-
llvm_report
_error("We do not support this DWARF encoding yet!");
+
report_fatal
_error("We do not support this DWARF encoding yet!");
case dwarf::DW_EH_PE_absptr:
// Do nothing special
return Res;
case dwarf::DW_EH_PE_absptr:
// Do nothing special
return Res;