Add nm to the every-file- clang groups

nm is referenced by _cc_toolchain_config_impl, so it should be added to
the every-file- clang groups. A separate "nm" filegroup is also added
for consumers that want to use nm directly.

Change-Id: I8cb51ac7c2ed2489169a2f9e76cca28e2557900d
Reviewed-on: https://fuchsia-review.googlesource.com/c/sdk-integration/+/787157
Commit-Queue: Auto-Submit <auto-submit@fuchsia-infra.iam.gserviceaccount.com>
Fuchsia-Auto-Submit: John Bauman <jbauman@google.com>
Reviewed-by: David Turner <digit@google.com>
diff --git a/bazel_rules_fuchsia/fuchsia/workspace/clang_templates/crosstool_template.BUILD b/bazel_rules_fuchsia/fuchsia/workspace/clang_templates/crosstool_template.BUILD
index 3dfc887..a8f225d 100644
--- a/bazel_rules_fuchsia/fuchsia/workspace/clang_templates/crosstool_template.BUILD
+++ b/bazel_rules_fuchsia/fuchsia/workspace/clang_templates/crosstool_template.BUILD
@@ -142,6 +142,13 @@
     ],
 )
 
+filegroup(
+    name = "nm",
+    srcs = [
+        "//:bin/llvm-nm",
+    ],
+)
+
 [
     filegroup(
         name = "every-file-" + cpu,
@@ -150,6 +157,7 @@
             ":runtime-" + cpu,
             ":link-" + cpu,
             ":ar",
+            ":nm",
             ":objcopy",
         ],
     )