Reenable asmparser dependency generation, now with improved Perl foo.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76243 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/tools/llvm-config/llvm-config.in.in b/tools/llvm-config/llvm-config.in.in
index 303bffb..fd39042 100644
--- a/tools/llvm-config/llvm-config.in.in
+++ b/tools/llvm-config/llvm-config.in.in
@@ -340,6 +340,10 @@
             $NAME_MAP{$target} = [$target.'info',
                                   $NAME_MAP{$target}[0]]
         }
+
+        if (defined $NAME_MAP{$target.'asmparser'}) {
+            push @{$NAME_MAP{$target}},$target.'asmparser'
+        }
     }
 
     # Add virtual entries.