Some build bot has lld in the directory name, which caused pattern match issue in the list test.
This patch introduces support of target id by -offload-arch. Differential Revision: https://reviews.llvm.org/D60620