projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Implement target independent TLS compatible with glibc's emutls.c.
[oota-llvm.git]
/
include
/
llvm
/
Target
/
TargetLowering.h
diff --git
a/include/llvm/Target/TargetLowering.h
b/include/llvm/Target/TargetLowering.h
index c72e7ae4fb58a557ab5fc901a7ac0535b42fb34f..d9d9f6fa1d6163697325990c563f66a7c6d14f6f 100644
(file)
--- a/
include/llvm/Target/TargetLowering.h
+++ b/
include/llvm/Target/TargetLowering.h
@@
-2821,6
+2821,10
@@
public:
virtual bool useLoadStackGuardNode() const {
return false;
}
virtual bool useLoadStackGuardNode() const {
return false;
}
+
+ /// Lower TLS global address SDNode for target independent emulated TLS model.
+ virtual SDValue LowerToTLSEmulatedModel(const GlobalAddressSDNode *GA,
+ SelectionDAG &DAG) const;
};
/// Given an LLVM IR type and return type attributes, compute the return value
};
/// Given an LLVM IR type and return type attributes, compute the return value