This is an archive of the discontinued LLVM Phabricator instance.

Fix llvm-config behavior when LLVM_TOOLS_INSTALL_DIR has a depth greater than one
AcceptedPublic

Authored by serge-sans-paille on Feb 12 2019, 6:46 AM.

Details

Summary

llvm-config makes the assumption that LLVM_TOOLS_INSTALL_DIR is a single directory. Choosing a (relative) path with a depth greater than one leads to invalid prefix computation.

Diff Detail

Repository
rL LLVM

Event Timeline

I guess it isn't possible to write a test for this?

sylvestre.ledru accepted this revision.Oct 31 2020, 4:06 AM
This revision is now accepted and ready to land.Oct 31 2020, 4:06 AM