xtool: utilize llvm-config to find LLVM executables

This commit is contained in:
Aofei Sheng
2024-06-25 18:16:46 +08:00
parent 57fa592a13
commit 43a6837e81
19 changed files with 381 additions and 34 deletions

View File

@@ -30,7 +30,7 @@ func main() {
return
}
nm := llvm.New().Nm()
nm := llvm.New("").Nm()
items, err := nm.List(os.Args[1])
for _, item := range items {
if item.File != "" {