[llvm-install-name-tool] Tighten some path checks
Just having --implicit-check-not=/usr breaks when the LLVM checkout path contains '/usr', since llvm-objdump prints out the path to the input file in the first line. Tighten the checks by adding the 'name' prefix that's used when printing load command payloads. An alternative would be to redirect the input file into llvm-objdump, in which case it prints out 'a.out' as the file name, but I'm not sure how reliable that behavior is.
parent
f9348f70
Please register or sign in to comment