[lldb-dev] Missing function arguments in the backtrace

Thirumurthi, Ashok ashok.thirumurthi at intel.com
Tue Sep 24 13:26:32 PDT 2013


I have an Ubuntu 12.10 machine where inferior_asserting() succeeds when functionalities/inferior-asserting is run in isolation with either of clang or gcc, but fails when dotest.py is used to run the full suite.  When it fails, the backtrace is missing all function arguments.  A diff of the attached logs illustrates that RegisterContextLLDB comes up with a more complete register set in the passing case.

Note: th1/fr1 frame uses eh_frame CFI for full UnwindPlan

Any guesses from the logs where I'd be looking to root cause this funkiness??

- Ashok

  th1/fr2 looking for register saved location for reg 16
 th1/fr1 supplying caller's saved reg 16's location, cached
  th1/fr2 looking for register saved location for reg 1
 th1/fr1 could not supply caller's reg 1 location
th1/fr0 supplying caller's register 1 from the live RegisterContext at frame 0
 th1/fr1 looking for register saved location for reg 1
th1/fr0 supplying caller's saved reg 1's location, cached
th1/fr0 looking for register saved location for reg 1
th1/fr0 passing along to the live register context for reg 1
  th1/fr2 looking for register saved location for reg 16
 th1/fr1 supplying caller's saved reg 16's location, cached
  th1/fr2 looking for register saved location for reg 12
 th1/fr1 could not supply caller's reg 12 location
th1/fr0 supplying caller's register 12 from the live RegisterContext at frame 0
 th1/fr1 looking for register saved location for reg 12
th1/fr0 supplying caller's saved reg 12's location, cached
th1/fr0 looking for register saved location for reg 12
th1/fr0 passing along to the live register context for reg 12
  th1/fr2 looking for register saved location for reg 16
 th1/fr1 supplying caller's saved reg 16's location, cached
  th1/fr2 looking for register saved location for reg 6
 th1/fr1 could not supply caller's reg 6 location
th1/fr0 supplying caller's saved reg 6's location, cached
 th1/fr1 looking for register saved location for reg 6
th1/fr0 supplying caller's saved reg 6's location, cached
th1/fr0 looking for register saved location for reg 6
th1/fr0 passing along to the live register context for reg 6
  th1/fr2 looking for register saved location for reg 16
 th1/fr1 supplying caller's saved reg 16's location, cached
  th1/fr2 looking for register saved location for reg 2
 th1/fr1 did not supply reg location for 2 (rcx) because it is volatile
  th1/fr2 looking for register saved location for reg 16
 th1/fr1 supplying caller's saved reg 16's location, cached
  th1/fr2 looking for register saved location for reg 8
 th1/fr1 did not supply reg location for 8 (r8) because it is volatile


-------------- next part --------------
A non-text attachment was scrubbed...
Name: bt-fail.log
Type: application/octet-stream
Size: 36955 bytes
Desc: bt-fail.log
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20130924/accaffc1/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bt-ok.log
Type: application/octet-stream
Size: 10689 bytes
Desc: bt-ok.log
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20130924/accaffc1/attachment-0001.obj>


More information about the lldb-dev mailing list