[PATCH] D49481: Haiku: Enable thread-local storage and disable PIE by default
Alexander von Gluck IV via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Jul 18 06:56:10 PDT 2018
kallisti5 created this revision.
Herald added a subscriber: cfe-commits.
Repository:
rC Clang
https://reviews.llvm.org/D49481
Files:
lib/Basic/Targets/OSTargets.h
lib/Driver/ToolChains/Haiku.h
Index: lib/Driver/ToolChains/Haiku.h
===================================================================
--- lib/Driver/ToolChains/Haiku.h
+++ lib/Driver/ToolChains/Haiku.h
@@ -23,9 +23,7 @@
Haiku(const Driver &D, const llvm::Triple &Triple,
const llvm::opt::ArgList &Args);
- bool isPIEDefault() const override {
- return getTriple().getArch() == llvm::Triple::x86_64;
- }
+ bool isPIEDefault() const override { return false; }
void addLibCxxIncludePaths(
const llvm::opt::ArgList &DriverArgs,
Index: lib/Basic/Targets/OSTargets.h
===================================================================
--- lib/Basic/Targets/OSTargets.h
+++ lib/Basic/Targets/OSTargets.h
@@ -266,7 +266,6 @@
this->IntPtrType = TargetInfo::SignedLong;
this->PtrDiffType = TargetInfo::SignedLong;
this->ProcessIDType = TargetInfo::SignedLong;
- this->TLSSupported = false;
}
};
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D49481.156061.patch
Type: text/x-patch
Size: 911 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180718/ff7333a1/attachment.bin>
More information about the cfe-commits
mailing list