mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 19:52:54 +01:00
Expose functionality to query if a file is an ELF shared object.
llvm-svn: 10194
This commit is contained in:
parent
c63e4ee8ad
commit
f792dbcd77
@ -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.
|
||||
///
|
||||
|
Loading…
Reference in New Issue
Block a user