mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-05 19:57:44 +00:00
Make the LinkInFile and LinkInLibrary both return an indication of whether
the file was found to be a native library (and thus not linked by these functions). llvm-svn: 35652
This commit is contained in:
parent
6df393cf38
commit
a54d904575
@ -182,7 +182,8 @@ class Linker {
|
||||
/// @see getLastError
|
||||
/// @brief Link in a single file.
|
||||
bool LinkInFile(
|
||||
const sys::Path& File ///< File to link in.
|
||||
const sys::Path& File, ///< File to link in.
|
||||
bool &is_native ///< Indicates if the file is native object file
|
||||
);
|
||||
|
||||
/// This function provides a way to selectively link in a set of modules,
|
||||
@ -212,7 +213,7 @@ class Linker {
|
||||
/// @brief Link one library into the module
|
||||
bool LinkInLibrary (
|
||||
const std::string& Library, ///< The library to link in
|
||||
bool& is_file ///< Indicates if lib is really a bc file
|
||||
bool& is_native ///< Indicates if lib a native library
|
||||
);
|
||||
|
||||
/// This function links one bytecode archive, \p Filename, into the module.
|
||||
|
Loading…
x
Reference in New Issue
Block a user