mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-28 06:27:16 +00:00
YEs, we really do want to sort.
llvm-svn: 2810
This commit is contained in:
parent
5e960b5301
commit
a5eae315e5
@ -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