[LLVMbugs] [Bug 20262] New: TargetOptions.DataSections not followed for literals
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Wed Jul 9 12:53:04 PDT 2014
http://llvm.org/bugs/show_bug.cgi?id=20262
Bug ID: 20262
Summary: TargetOptions.DataSections not followed for literals
Product: libraries
Version: trunk
Hardware: PC
OS: Windows NT
Status: NEW
Severity: normal
Priority: P
Component: Target Description Classes
Assignee: unassignedbugs at nondot.org
Reporter: mrmocool at gmx.de
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-windows-msvc"
@test1 = global i32 22
@test2 = global i32 33
define i32 @_D5test23fooFZi() nounwind readnone {
ret i32 1
}
define float @_D5test23barFZf() nounwind readnone {
ret float 5.000000e+00
}
define float @_D5test23bazFZf() nounwind readnone {
ret float 6.000000e+00
}
define i32 @main(i32 %argc_arg, i8** %argv_arg) nounwind readnone {
ret i32 0
}
define i32 @mainCRTStartup() nounwind readnone {
ret i32 0
}
$ llc -function-sections -data-sections -filetype=obj test.ll
$ dumpbin /headers test.obj
$ link /OPT:REF /OPT:ICF /VERBOSE /MAP test.obj
--
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/20140709/8483448b/attachment.html>
More information about the llvm-bugs
mailing list