mirror of
https://github.com/RPCS3/llvm.git
synced 2024-11-30 07:00:57 +00:00
YEs, we really do want to sort.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2810 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
b4aef1746a
commit
c5d4493041
@ -66,7 +66,7 @@ static inline std::auto_ptr<Module> LoadFile(const std::string &FN) {
|
||||
if (Verbose) {
|
||||
cerr << "Error opening bytecode file: '" << Filename << "'";
|
||||
if (ErrorMessage.size()) cerr << ": " << ErrorMessage;
|
||||
cerr << std::endl;
|
||||
cerr << "\n";
|
||||
}
|
||||
|
||||
if (NextLibPathIdx == LibPaths.size()) break;
|
||||
@ -93,7 +93,7 @@ int main(int argc, char **argv) {
|
||||
|
||||
if (!Libraries.empty()) {
|
||||
// Sort libraries list...
|
||||
//sort(Libraries.begin(), Libraries.end());
|
||||
std::sort(Libraries.begin(), Libraries.end());
|
||||
|
||||
// Remove duplicate libraries entries...
|
||||
Libraries.erase(unique(Libraries.begin(), Libraries.end()),
|
||||
|
Loading…
Reference in New Issue
Block a user