summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/llvm-config/llvm-config.in.in4
1 files changed, 4 insertions, 0 deletions
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 @@ sub build_name_map {
$NAME_MAP{$target} = [$target.'info',
$NAME_MAP{$target}[0]]
}
+
+ if (defined $NAME_MAP{$target.'asmparser'}) {
+ push @{$NAME_MAP{$target}},$target.'asmparser'
+ }
}
# Add virtual entries.