We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 80bb52a commit 136381dCopy full SHA for 136381d
libclc/check_external_calls.sh
@@ -24,9 +24,10 @@ TMP_FILE=$(mktemp)
24
25
# Check for calls. Calls to llvm intrinsics are OK
26
$DIS < $FILE | grep ' call ' | grep -v '@llvm' > "$TMP_FILE"
27
+COUNT=$(wc -l < "$TMP_FILE")
28
-if [ $(wc -l < "$TMP_FILE") -ne "0" ]; then
29
- echo "ERROR: unresolved calls detected"
+if [ "$COUNT" -ne "0" ]; then
30
+ echo "ERROR: $COUNT unresolved calls detected in $FILE"
31
cat $TMP_FILE
32
ret=1
33
else
0 commit comments