diff options
author | Anton Korobeynikov <asl@math.spbu.ru> | 2006-08-04 21:52:23 +0000 |
---|---|---|
committer | Anton Korobeynikov <asl@math.spbu.ru> | 2006-08-04 21:52:23 +0000 |
commit | de9c02b171760b9514392c9965541bdc81e3c898 (patch) | |
tree | 3ef0b09847ae88171f2089ffee4ea9d3a3f11a47 /tools/llvm-config/find-cycles.pl | |
parent | cf65fb6503ff124874b738030c8559a5d9538993 (diff) | |
download | external_llvm-de9c02b171760b9514392c9965541bdc81e3c898.zip external_llvm-de9c02b171760b9514392c9965541bdc81e3c898.tar.gz external_llvm-de9c02b171760b9514392c9965541bdc81e3c898.tar.bz2 |
Removed usage of "sort", which can lead to undeterministic behavior on mingw & cygwin platforms.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29532 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/llvm-config/find-cycles.pl')
-rwxr-xr-x | tools/llvm-config/find-cycles.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/llvm-config/find-cycles.pl b/tools/llvm-config/find-cycles.pl index 5f62034..8d6b0bb 100755 --- a/tools/llvm-config/find-cycles.pl +++ b/tools/llvm-config/find-cycles.pl @@ -29,7 +29,7 @@ sub find_all_cycles; # Read our dependency information. while (<>) { chomp; - my ($module, $dependency_str) = /^([^:]*): ?(.*)$/; + my ($module, $dependency_str) = /^\s*([^:]+):\s*(.*)\s*$/; die "Malformed data: $_" unless defined $dependency_str; my @dependencies = split(/ /, $dependency_str); $DEPS{$module} = \@dependencies; |