[Lldb-commits] [PATCH] D12044: Fix resolution conflict between global and class static variables in C++.
Greg Clayton via lldb-commits
lldb-commits at lists.llvm.org
Mon Aug 17 09:36:47 PDT 2015
clayborg added a comment.
Please make sure that the following works after your changes:
(lldb) r
Process 35421 launched: '/private/tmp/a.out' (x86_64)
Process 35421 stopped
* thread #1: tid = 0xb659be, 0x0000000100000f9d a.out main + 13, stop reason = breakpoint 1.1, queue = com.apple.main-thread
frame #0: 0x0000000100000f9d a.out main + 13 at main.cpp:24
21
22 int main()
23 {
-> 24 return 0; // break here
25 }
(lldb) target variable
Global variables for /tmp/main.cpp in /private/tmp/a.out:
(int) A::a = 1111
(int) B::a = 2222
(int) C::a = 3333
(int) ::a = 4444
http://reviews.llvm.org/D12044
More information about the lldb-commits
mailing list