xtool: utilize llvm-config to find LLVM executables
This commit is contained in:
@@ -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 != "" {
|
||||
|
||||
@@ -54,7 +54,7 @@ The commands are:
|
||||
}
|
||||
|
||||
func makeIndex() {
|
||||
env := llvm.New()
|
||||
env := llvm.New("")
|
||||
idxDir := indexDir()
|
||||
os.MkdirAll(idxDir, 0755)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user