aboutsummaryrefslogtreecommitdiff
path: root/include/llvm/Target/TargetOptions.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/llvm/Target/TargetOptions.h')
-rw-r--r--include/llvm/Target/TargetOptions.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/llvm/Target/TargetOptions.h b/include/llvm/Target/TargetOptions.h
index 12a2757315..92e627cea8 100644
--- a/include/llvm/Target/TargetOptions.h
+++ b/include/llvm/Target/TargetOptions.h
@@ -30,6 +30,12 @@ namespace llvm {
};
}
+ // @LOCALMOD-BEGIN
+ /// TLSUseCall - This flag enables the use of a function call to get the
+ /// thread pointer for TLS accesses, instead of using inline code.
+ extern bool TLSUseCall;
+ // @LOCALMOD-END
+
class TargetOptions {
public:
TargetOptions()