Benjamin Kramer eb9165c08f Reduce code duplication.
This also moves strlen out of the mutex scope.

llvm-svn: 106545
2010-06-22 15:28:34 +00:00
..
2010-06-22 15:28:34 +00:00
2010-06-12 18:29:53 +00:00