[lldb-dev] test decorator working on linux, but not on windows

2017-01-06 Thread Ted Woodward via lldb-dev
packages/Python/lldbsuite/test/lang/c/typedef/Testtypedef.py has this decorator: @expectedFailureAll(compiler="clang", bugnumber="llvm.org/pr19238") On Linux, I'm building with hexagon-clang, and this decorator fires, so the test is xfailed. On Windows, I'm building with hexagon-clang.

Re: [lldb-dev] test decorator working on linux, but not on windows

2017-01-06 Thread Zachary Turner via lldb-dev
You will probably need to debug the python code to figure out why this is happening. Start with this line in lldb/packages/Python/lldbsuite/test/decorators.py def _decorateTest(mode, bugnumber=None, oslist=None, hostoslist=None, compiler=None, compiler_version=N

[lldb-dev] [Bug 28026] LLDB-MI doesn't properly output CLI command response using console-stream-output stream

2017-01-06 Thread via lldb-dev
https://llvm.org/bugs/show_bug.cgi?id=28026 Aetf changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

Re: [lldb-dev] test decorator working on linux, but not on windows

2017-01-06 Thread Ted Woodward via lldb-dev
Bottom line: lldbutil.is_exe() does not think “foo” is an exe on windows when “foo.exe” is. print("***compiler is:", self.getCompiler(), file=sys.stderr) ***compiler is: C:\lldb\8.0\llvm\tools\lldb\packages\Python\lldbsuite\test\lang\c\typedef self.getCompiler() is retur

Re: [lldb-dev] Lldb-server spins forever in ptrace with 100% CPU on Linux Ubuntu 16.04

2017-01-06 Thread Eugene Birukov via lldb-dev
Hi, It seems the problem is related to transparent huge pages. Disabling them helps. The LLDB spins in this code: [11428.634820] Call Trace: [11428.634821] [] do_huge_pmd_wp_page+0x62e/0xb80 [11428.634822] [] handle_mm_fault+0x705/0xfe0 [11428.634823] [] ? follow_page_mask+0x37d/0x7a0 [114