[llvm-bugs] [Bug 25434] New: Function call does not get discriminator assigned.

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Nov 6 10:37:06 PST 2015


https://llvm.org/bugs/show_bug.cgi?id=25434

            Bug ID: 25434
           Summary: Function call does not get discriminator assigned.
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: DebugInfo
          Assignee: unassignedbugs at nondot.org
          Reporter: danielcdh at gmail.com
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

#cat c.cc
void bar();

void foo() {
  bar();bar();
}
#g++  -S -O0 -g c.cc
#grep discriminator c.s
    .loc 1 4 0 is_stmt 0 discriminator 1
#clang -S -O0 -g c.cc
#grep discriminator c.s

If there are multiple function calls within a same line, we should have
distinct discriminator for each one of them.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20151106/d46b7b3d/attachment.html>


More information about the llvm-bugs mailing list