[LLVMbugs] [Bug 15972] New: [3.3 RC] i1 weak_odr thread_local global crashes MC on OS X
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Sun May 12 10:14:18 PDT 2013
http://llvm.org/bugs/show_bug.cgi?id=15972
Bug ID: 15972
Summary: [3.3 RC] i1 weak_odr thread_local global crashes MC on
OS X
Product: libraries
Version: trunk
Hardware: PC
OS: All
Status: NEW
Severity: normal
Priority: P
Component: MC
Assignee: unassignedbugs at nondot.org
Reporter: code at klickverbot.at
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
LLVM from the release_33 branch (r181625) crashes when MC-codegening the
following module
---
target datalayout =
"e-p:64:64:64-S128-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f16:16:16-f32:32:32-f64:64:64-f128:128:128-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64"
target triple = "x86_64-apple-darwin11.4.2"
@global = weak_odr thread_local global i1 zeroinitializer
---
(e.g. llc -filetype=obj testcase.ll):
---
Assertion failed: (FF.getValueSize() && "Invalid virtual align in concrete
fragment!"), function writeFragment, file
/Users/aule/Build/Source/llvm/lib/MC/MCAssembler.cpp, line 639.
0 llc 0x000000010d49c06e llvm::sys::PrintStackTrace(__sFILE*) +
46
1 llc 0x000000010d49c37b _ZL28PrintStackTraceSignalHandlerPv +
27
2 llc 0x000000010d49c689 _ZL13SignalHandleri + 297
3 libsystem_c.dylib 0x00007fff91d85cfa _sigtramp + 26
4 libsystem_c.dylib 0x000004006c340df8 _sigtramp + 3663442200
5 llc 0x000000010d49c3ab raise + 27
6 llc 0x000000010d49c462 abort + 18
7 llc 0x000000010d49c441 __assert_rtn + 129
8 llc 0x000000010d3bca3a
_ZL13writeFragmentRKN4llvm11MCAssemblerERKNS_11MCAsmLayoutERKNS_10MCFragmentE +
2058
9 llc 0x000000010d3bc198
llvm::MCAssembler::writeSectionData(llvm::MCSectionData const*,
llvm::MCAsmLayout const&) const + 968
10 llc 0x000000010d408d19
llvm::MachObjectWriter::WriteObject(llvm::MCAssembler&, llvm::MCAsmLayout
const&) + 2377
11 llc 0x000000010d3bd53b llvm::MCAssembler::Finish() + 1515
12 llc 0x000000010d3f602e llvm::MCObjectStreamer::FinishImpl() +
142
13 llc 0x000000010d3e9ece (anonymous
namespace)::MCMachOStreamer::FinishImpl() + 702
14 llc 0x000000010d3fc50e llvm::MCStreamer::Finish() + 110
15 llc 0x000000010ca68451
llvm::AsmPrinter::doFinalization(llvm::Module&) + 2961
16 llc 0x000000010d35666c
llvm::FPPassManager::doFinalization(llvm::Module&) + 92
17 llc 0x000000010d356b1e
llvm::MPPassManager::runOnModule(llvm::Module&) + 1134
18 llc 0x000000010d35713e
llvm::PassManagerImpl::run(llvm::Module&) + 302
19 llc 0x000000010d3573e1 llvm::PassManager::run(llvm::Module&) +
33
20 llc 0x000000010c7464ac
_ZL13compileModulePPcRN4llvm11LLVMContextE + 4844
21 llc 0x000000010c745162 main + 226
22 llc 0x000000010c745034 start + 52
---
--
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/20130512/827eadfe/attachment.html>
More information about the llvm-bugs
mailing list