[Lldb-commits] Linux fatal regression [Re: [lldb] r341487 - Modernize NativeProcessProtocol::GetSoftwareBreakpointTrapOpcode]

Jan Kratochvil via lldb-commits lldb-commits at lists.llvm.org
Sat Sep 8 01:25:11 PDT 2018


Hi Pavel,

OK to revert it? It completely broke testsuite on Linux.


Jan Kratochvil


On Wed, 05 Sep 2018 20:08:56 +0200, Pavel Labath via lldb-commits wrote:
> Author: labath
> Date: Wed Sep  5 11:08:56 2018
> New Revision: 341487
> 
> URL: http://llvm.org/viewvc/llvm-project?rev=341487&view=rev
> Log:
> Modernize NativeProcessProtocol::GetSoftwareBreakpointTrapOpcode

dddb70b0fa11f4c21cd2498b4c05d53fefb3d460 is the first bad commit
commit dddb70b0fa11f4c21cd2498b4c05d53fefb3d460
Author: Pavel Labath <pavel at labath.sk>
Date:   Wed Sep 5 18:08:56 2018 +0000
    Modernize NativeProcessProtocol::GetSoftwareBreakpointTrapOpcode

------------------------------------------------------------------------------
$ echo 'int main(){return 0;}'|clang -g -x c -;./bin/lldb ./a.out -o 'b main' -o r -o q
(lldb) target create "./a.out"
Current executable set to './a.out' (x86_64).
(lldb) b main
Breakpoint 1: where = a.out`main + 13 at <stdin>:1:12, address = 0x00000000004004ad
(lldb) r
Process 2244270 stopped
* thread #1, name = 'a.out', stop reason = signal SIGSEGV: address access protected (fault address: 0x7ffff7dd6000)
    frame #0: 0x00007ffff7de5ae0 ld-2.27.so`__GI__dl_debug_state at dl-debug.c:74
   71  	void
   72  	_dl_debug_state (void)
   73  	{
-> 74  	}
   75  	rtld_hidden_def (_dl_debug_state)

Process 2244270 launched: '/home/jkratoch/redhat/llvm-git-build-release-clang/a.out' (x86_64)
(lldb) q
------------------------------------------------------------------------------


More information about the lldb-commits mailing list