We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7b4953d commit 8871b6eCopy full SHA for 8871b6e
bolt/test/link_fdata.py
@@ -9,6 +9,7 @@
9
10
import argparse
11
import os
12
+import shutil
13
import subprocess
14
import sys
15
import re
@@ -85,7 +86,7 @@
85
86
exit("ERROR: unexpected input:\n%s" % line)
87
88
# Read nm output: <symbol value> <symbol type> <symbol name>
-is_llvm_nm = os.path.basename(args.nmtool) == "llvm-nm"
89
+is_llvm_nm = os.path.basename(os.path.realpath(shutil.which(args.nmtool))) == "llvm-nm"
90
nm_output = subprocess.run(
91
[
92
args.nmtool,
0 commit comments