[llvm-bugs] [Bug 35315] New: [llvm-mc] - Hits unreachable when 64 bit relocation used for i386 target.
via llvm-bugs
llvm-bugs at lists.llvm.org
Wed Nov 15 02:12:34 PST 2017
https://bugs.llvm.org/show_bug.cgi?id=35315
Bug ID: 35315
Summary: [llvm-mc] - Hits unreachable when 64 bit relocation
used for i386 target.
Product: libraries
Version: trunk
Hardware: PC
OS: Windows NT
Status: NEW
Severity: enhancement
Priority: P
Component: MC
Assignee: unassignedbugs at nondot.org
Reporter: grimar at accesssoftek.com
CC: llvm-bugs at lists.llvm.org
Execution hits unreachable at
https://github.com/llvm-mirror/llvm/blob/master/lib/Target/X86/MCTargetDesc/X86ELFObjectWriter.cpp#L205
When using following invocation:
llvm-mc -filetype=obj -triple=i686-pc-linux test.s -o test
test.s:
.section .strings,"MS", at progbits,1,unique,10
.Linfo_string0:
.asciz "AAA"
.Linfo_string1:
.asciz "BBB"
.section .strings,"MS", at progbits,1,unique,20
.Linfo_string2:
.asciz "BBB"
.Linfo_string3:
.asciz "CCC"
.section .foo,"ax", at progbits
.quad .Linfo_string0
.quad .Linfo_string1
.quad .Linfo_string2
.quad .Linfo_string3
--
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/20171115/1bf07737/attachment.html>
More information about the llvm-bugs
mailing list