aboutsummaryrefslogtreecommitdiff
path: root/include/Support/FileUtilities.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/Support/FileUtilities.h')
-rw-r--r--include/Support/FileUtilities.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/Support/FileUtilities.h b/include/Support/FileUtilities.h
index c276ec7aaa..4c02605400 100644
--- a/include/Support/FileUtilities.h
+++ b/include/Support/FileUtilities.h
@@ -34,6 +34,11 @@ bool IsArchive (const std::string &FN);
///
bool IsBytecode (const std::string &FN);
+/// IsSharedObject - Returns trus IFF the file named FN appears to be a shared
+/// object with an ELF header. The file named FN must exist.
+///
+bool IsSharedObject(const std::string &FN);
+
/// FileOpenable - Returns true IFF Filename names an existing regular file
/// which we can successfully open.
///