projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
change MCContext to work on the doInitialization/doFinalization model
[oota-llvm.git]
/
include
/
llvm
/
MC
/
MCAsmBackend.h
diff --git
a/include/llvm/MC/MCAsmBackend.h
b/include/llvm/MC/MCAsmBackend.h
index 348a5f52d2ad95b0446e9922f0640a3ba824fc59..72ed1a317c55775daaf16f1593afaac77805fa72 100644
(file)
--- a/
include/llvm/MC/MCAsmBackend.h
+++ b/
include/llvm/MC/MCAsmBackend.h
@@
-36,6
+36,7
@@
protected: // Can only create subclasses.
MCAsmBackend();
unsigned HasReliableSymbolDifference : 1;
MCAsmBackend();
unsigned HasReliableSymbolDifference : 1;
+ unsigned HasDataInCodeSupport : 1;
public:
virtual ~MCAsmBackend();
public:
virtual ~MCAsmBackend();
@@
-65,6
+66,12
@@
public:
return HasReliableSymbolDifference;
}
return HasReliableSymbolDifference;
}
+ /// hasDataInCodeSupport - Check whether this target implements data-in-code
+ /// markers. If not, data region directives will be ignored.
+ bool hasDataInCodeSupport() const {
+ return HasDataInCodeSupport;
+ }
+
/// doesSectionRequireSymbols - Check whether the given section requires that
/// all symbols (even temporaries) have symbol table entries.
virtual bool doesSectionRequireSymbols(const MCSection &Section) const {
/// doesSectionRequireSymbols - Check whether the given section requires that
/// all symbols (even temporaries) have symbol table entries.
virtual bool doesSectionRequireSymbols(const MCSection &Section) const {