% svn commit shadow.py Adding shadow.py Transmitting file data .done Committing transaction... Committed revision 273604.
It is now in examples/python/shadow.py and the command is called "shadow". > On Jun 23, 2016, at 6:39 AM, Bogdan Hopulele <bogdan.hopul...@ni.com> wrote: > > Thanks! > Using the blocks I can get all the information I need: locals, function > statics and arguments plus shadowing. Now I only need globals which I can get > using "target.FindGlobalVariables('.', 1000, eMatchTypeRegex)" and search for > variable names in the dictionary. > > Your script seems pretty useful. Maybe you can add it to the python examples. > > -----Original Message----- > From: Greg Clayton [mailto:gclay...@apple.com] > Sent: Thursday, June 23, 2016 12:00 AM > To: Greg Clayton <gclay...@apple.com> > Cc: Bogdan Hopulele <bogdan.hopul...@ni.com>; lldb-dev@lists.llvm.org > Subject: Re: [lldb-dev] Variable shadowing > > The logic is a bit wrong in my script, it should first print out the > variables we have already found, followed by the one we are currently > processing. The fixed script is attached: > > National Instruments Romania S.R.L. > ------------------------------------------------------ > B-dul 21 Decembrie 1989, nr. 77, A2 > Cluj-Napoca 400604, Romania > C.I.F.: RO17961616 | O.R.C.: J12/3337/2005 > Telefon: +40 264 406428 | Fax: +40 264 406429 > E-mail: office.c...@ni.com > Web: romania.ni.com > > Vanzari si suport tehnic: > Telefon gratuit : 0800 070071 > E-mail vanzari: ni.roma...@ni.com > E-mail suport tehnic: techsupp...@ni.com _______________________________________________ lldb-dev mailing list lldb-dev@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev