mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-01 07:30:33 +00:00
Expose functionality to query if a file is an ELF shared object.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10194 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
17cca96735
commit
a140b3c367
@ -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.
|
||||
///
|
||||
|
@ -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