diff options
author | Ted Kremenek <kremenek@apple.com> | 2007-11-27 19:31:11 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2007-11-27 19:31:11 +0000 |
commit | 8330b0e5d409e2bce093c680348459f24d8b0932 (patch) | |
tree | 0abed91a24aeae1006d48698315ed4298c6a2a53 /lib/ExecutionEngine/JIT/Intercept.cpp | |
parent | d73ab8884f5c95d2704be3c00af4cc3dba963da6 (diff) |
Updated GenLibDeps.pl to employ "use strict" to help prevent uses of variables
that have not yet been defined.
Removed used of grep and sed when parsing the results of "nm". This was
originally motivated because if the user has specified options to grep using
the environment variable GREP_OPTIONS this could break the script. Piping
through grep/sed/sort/uniq is also (to my understanding) not necessary, and
the equivalent operations can be done much faster in the Perl script.
Using a crude benchmark, these changes resulted in a 3x speedup in the
execution of GenLibDeps.pl.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@44372 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/ExecutionEngine/JIT/Intercept.cpp')
0 files changed, 0 insertions, 0 deletions