diff options
| author | Reid Kleckner <rnk@google.com> | 2018-07-31 21:57:35 +0000 |
|---|---|---|
| committer | Reid Kleckner <rnk@google.com> | 2018-07-31 21:57:35 +0000 |
| commit | acbbf4bf78727097e7f60fa235a9daf8e6c08367 (patch) | |
| tree | 7003a6d9a7893370d9d0485a682d174093ad2bbd /clang/lib/Driver/ToolChains/Darwin.h | |
| parent | 87b4b8f7b437ab39f055bf4d740f0ca906aa122d (diff) | |
| download | bcm5719-llvm-acbbf4bf78727097e7f60fa235a9daf8e6c08367.tar.gz bcm5719-llvm-acbbf4bf78727097e7f60fa235a9daf8e6c08367.zip | |
Revert r337635 "[Driver] Sanitizer support based on runtime library presence"
This change causes issues with distributed build systems, which may only
have compiler binaries without any runtime libraries. See discussion
about this on https://reviews.llvm.org/D15225.
llvm-svn: 338444
Diffstat (limited to 'clang/lib/Driver/ToolChains/Darwin.h')
| -rw-r--r-- | clang/lib/Driver/ToolChains/Darwin.h | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/clang/lib/Driver/ToolChains/Darwin.h b/clang/lib/Driver/ToolChains/Darwin.h index eee6e966718..87d553bd7e0 100644 --- a/clang/lib/Driver/ToolChains/Darwin.h +++ b/clang/lib/Driver/ToolChains/Darwin.h @@ -130,9 +130,6 @@ protected: Tool *buildLinker() const override; Tool *getTool(Action::ActionClass AC) const override; - /// \return Directory to find the runtime library in. - SmallString<128> runtimeLibDir(bool IsEmbedded=false) const; - private: mutable std::unique_ptr<tools::darwin::Lipo> Lipo; mutable std::unique_ptr<tools::darwin::Dsymutil> Dsymutil; @@ -254,6 +251,7 @@ public: GetExceptionModel(const llvm::opt::ArgList &Args) const override { return llvm::ExceptionHandling::None; } + /// } }; @@ -422,11 +420,6 @@ protected: StringRef getPlatformFamily() const; StringRef getOSLibraryNameSuffix() const; - /// \return Relative path to the filename for the library - /// containing the sanitizer {@code SanitizerName}. - std::string getFileNameForSanitizerLib(StringRef SanitizerName, - bool Shared = true) const; - public: static StringRef getSDKName(StringRef isysroot); @@ -480,12 +473,6 @@ public: SanitizerMask getSupportedSanitizers() const override; void printVerboseInfo(raw_ostream &OS) const override; - -private: - /// \return Whether the runtime corresponding to the given - /// sanitizer exists in the toolchain. - bool sanitizerRuntimeExists(StringRef SanitizerName, - bool Shared = true) const; }; /// DarwinClang - The Darwin toolchain used by Clang. |

