[lld] r305297 - Add llvm-pdbutil tool_patterns in lit.cfg

Sam Clegg via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 13 08:53:53 PDT 2017


Author: sbc
Date: Tue Jun 13 10:53:53 2017
New Revision: 305297

URL: http://llvm.org/viewvc/llvm-project?rev=305297&view=rev
Log:
Add llvm-pdbutil tool_patterns in lit.cfg

This means that 'llvm-pdbutil' in test commands will resolve
to the absolute path to the tool, in line with what happens
already for other tools.

This works either way because the bin directory is also
prepended to the PATH.  I'm not sure why both methods are
used.

Differential Revision: https://reviews.llvm.org/D34128

Modified:
    lld/trunk/test/lit.cfg

Modified: lld/trunk/test/lit.cfg
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/lit.cfg?rev=305297&r1=305296&r2=305297&view=diff
==============================================================================
--- lld/trunk/test/lit.cfg (original)
+++ lld/trunk/test/lit.cfg Tue Jun 13 10:53:53 2017
@@ -167,6 +167,7 @@ tool_patterns = [r"\bFileCheck\b",
                  r"\bllvm-mc\b",
                  r"\bllvm-nm\b",
                  r"\bllvm-objdump\b",
+                 r"\bllvm-pdbutil\b",
                  r"\bllvm-readobj\b",
                  r"\bobj2yaml\b",
                  r"\byaml2obj\b"]




More information about the llvm-commits mailing list