[LLVMbugs] [Bug 14767] New: the curious case of tracing parameters

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Dec 31 15:38:35 PST 2012


             Bug #: 14767
           Summary: the curious case of tracing parameters
           Product: clang
           Version: unspecified
          Platform: PC
        OS/Version: All
            Status: NEW
          Keywords: googler
          Severity: enhancement
          Priority: P
         Component: C++
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: dblaikie at gmail.com
                CC: dgregor at apple.com, echristo at gmail.com,
                    llvmbugs at cs.uiuc.edu
            Blocks: 14395
    Classification: Unclassified

One of the GDB 7.5 test suite tests (gdb.trace/save-trace.exp) is failing for
reasons I can't seem to fathom/divine, so I'm filing this bug for now & can
investigate further at some point.

Given this:

  void func(int p) {

doing this in gdb:

  trace 2
  collect p

completes successfully with GCC's debug info, but crashes GDB
("../../gdb-7.5.x/gdb/tracepoint.c:665: internal-error: expression has min
height < 0
A problem internal to GDB has been detected,
further debugging may prove unreliable.") with Clang's debug info. Normal
operations such as breaking on the function & printing out 'p' interactively,
seem to work just fine.

I've yet to figure out what the critical bit of debug info or assembly is
causing this hiccup.

Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

More information about the llvm-bugs mailing list