[lldb-dev] Figure our what global and static variables are accessed by what functions (at runtime)

Peng Yu via lldb-dev lldb-dev at lists.llvm.org
Thu Jan 10 08:16:20 PST 2019


Hi,

I think that I can use the watchpoint command to set watchpoints on
all global and static variables. Then run the lldb and parse the
screen output to see what global and static variables are
read/write-accessed by what functions. Is this a good strategy? Is
there any other better ways to figure this kind of information out?

-- 
Regards,
Peng


More information about the lldb-dev mailing list