[llvm-commits] CVS: llvm/include/Support/FileUtilities.h
Misha Brukman
brukman at cs.uiuc.edu
Sun Nov 23 23:29:13 PST 2003
Changes in directory llvm/include/Support:
FileUtilities.h updated: 1.8 -> 1.9
---
Log message:
Expose functionality to query if a file is an ELF shared object.
---
Diffs of the changes: (+5 -0)
Index: llvm/include/Support/FileUtilities.h
diff -u llvm/include/Support/FileUtilities.h:1.8 llvm/include/Support/FileUtilities.h:1.9
--- llvm/include/Support/FileUtilities.h:1.8 Tue Nov 11 16:41:29 2003
+++ llvm/include/Support/FileUtilities.h Sun Nov 23 23:28:39 2003
@@ -34,6 +34,11 @@
///
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.
///
More information about the llvm-commits
mailing list