[PATCH] D40202: Add opt-viewer testing

Adam Nemet via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 28 16:12:07 PST 2017


> On Nov 28, 2017, at 3:56 PM, Zachary Turner <zturner at google.com> wrote:
> 
> This is failing for me on Windows.
> 
> $ "C:\Python27\python.exe" "D:/src/llvm-mono/llvm/tools/opt-viewer/opt-viewer.py" "-s" "D:\src\llvm-mono\llvm\test\tools\opt-viewer/Inputs" "-o" "D:\src\llvmbuild\clang\Debug\x86\test\tools\opt-viewer\Output\basic.test.tmp" "D:\src\llvm-mono\llvm\test\tools\opt-viewer/Inputs/basic/or.yaml" "--no-highlight"
> # command stderr:
> Traceback (most recent call last):
>   File "D:/src/llvm-mono/llvm/tools/opt-viewer/opt-viewer.py", line 20, in <module>
>     import optrecord
>   File "D:\src\llvm-mono\llvm\tools\opt-viewer\optrecord.py", line 30, in <module>
>     p = subprocess.Popen(['c++filt', '-n'], stdin=subprocess.PIPE, stdout=subprocess.PIPE)
>   File "C:\Python27\lib\subprocess.py", line 390, in __init__
>     errread, errwrite)
>   File "C:\Python27\lib\subprocess.py", line 640, in _execute_child
>     startupinfo)
> WindowsError: [Error 2] The system cannot find the file specified
> 
> error: command failed with exit status: 1
> 
> What is c++filt supposed to be, because I don't have it.

It’s the binutils demangler, I’ll fix it later.  Reverted in r319262.  Sorry about the breakage.

> 
> On Mon, Nov 27, 2017 at 11:01 AM Adam Nemet via Phabricator via llvm-commits <llvm-commits at lists.llvm.org <mailto:llvm-commits at lists.llvm.org>> wrote:
> This revision was automatically updated to reflect the committed changes.
> Closed by commit rL319073: Add opt-viewer testing (authored by anemet).
> 
> Repository:
>   rL LLVM
> 
> https://reviews.llvm.org/D40202 <https://reviews.llvm.org/D40202>
> 
> Files:
>   llvm/trunk/cmake/config-ix.cmake
>   llvm/trunk/test/lit.cfg.py <http://lit.cfg.py/>
>   llvm/trunk/test/lit.site.cfg.py.in <http://lit.site.cfg.py.in/>
>   llvm/trunk/test/tools/opt-viewer/Inputs/basic/or.c
>   llvm/trunk/test/tools/opt-viewer/Inputs/basic/or.h
>   llvm/trunk/test/tools/opt-viewer/Inputs/basic/or.yaml
>   llvm/trunk/test/tools/opt-viewer/Outputs/basic/basic_or.c.html
>   llvm/trunk/test/tools/opt-viewer/Outputs/basic/basic_or.h.html
>   llvm/trunk/test/tools/opt-viewer/Outputs/basic/index.html
>   llvm/trunk/test/tools/opt-viewer/Outputs/basic/style.css
>   llvm/trunk/test/tools/opt-viewer/basic.test
>   llvm/trunk/test/tools/opt-viewer/lit.local.cfg
> 
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at lists.llvm.org <mailto:llvm-commits at lists.llvm.org>
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits <http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171128/d9aba1e7/attachment-0001.html>


More information about the llvm-commits mailing list