[llvm-bugs] [Bug 27728] New: Crash with -generate-arange-section

via llvm-bugs llvm-bugs at lists.llvm.org
Thu May 12 14:06:08 PDT 2016


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

            Bug ID: 27728
           Summary: Crash with  -generate-arange-section
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: DebugInfo
          Assignee: unassignedbugs at nondot.org
          Reporter: rafael.espindola at gmail.com
                CC: dblaikie at gmail.com, llvm-bugs at lists.llvm.org
    Classification: Unclassified

Given

------------------------------
void f1() {}
void f2() {}
void f3(unsigned *a) {
  { unsigned v = a[0]; }
}
void f4(unsigned *a) {
  { unsigned v = a[0]; }
}
void f5(unsigned *a) {
  { unsigned v = a[0]; }
}
void f6(unsigned *a) {
  { unsigned v = a[0]; }
}
void f7() {}
void f8() {}
void f9() {}
void f10() {}
void f11() {}
--------------------------------


$ clang -cc1 -emit-llvm-bc -debug-info-kind=limited test.ii -o test.bc 
$ llc -generate-arange-section test.bc # crash

-- 
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/20160512/bf7acea3/attachment-0001.html>


More information about the llvm-bugs mailing list