[llvm-bugs] [Bug 29147] New: .cv_loc directives for the same inline line table in different sections cause assertions
via llvm-bugs
llvm-bugs at lists.llvm.org
Thu Aug 25 18:29:31 PDT 2016
https://llvm.org/bugs/show_bug.cgi?id=29147
Bug ID: 29147
Summary: .cv_loc directives for the same inline line table in
different sections cause assertions
Product: libraries
Version: trunk
Hardware: PC
OS: Windows NT
Status: NEW
Severity: normal
Priority: P
Component: MC
Assignee: unassignedbugs at nondot.org
Reporter: rnk at google.com
CC: llvm-bugs at lists.llvm.org
Classification: Unclassified
This asm input crashes MC:
.text
.global foo
foo:
.Lfunc_begin0:
.cv_file 1 "t.cpp"
.cv_loc 0 1 1 1
nop
.cv_loc 1 1 2 1
nop
.data # comment out to avoid crash
.cv_loc 1 1 3 1
nop
.cv_loc 0 1 3 1
nop
.Lfunc_end0:
.section .debug$S,"dr"
.cv_inline_linetable 1 1 2 .Lfunc_begin0 .Lfunc_end0
We should validate that all directives for the function are in the same
section, otherwise we can't compute absolute label differences, obviously.
--
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/20160826/69596484/attachment.html>
More information about the llvm-bugs
mailing list