[LLVMbugs] [Bug 18084] New: Assertion failed: (Weights.size() >= 2 && "Need at least two branch weights!"), function createBranchWeights

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Nov 28 13:38:57 PST 2013


http://llvm.org/bugs/show_bug.cgi?id=18084

            Bug ID: 18084
           Summary: Assertion failed: (Weights.size() >= 2 && "Need at
                    least two branch weights!"), function
                    createBranchWeights
           Product: clang
           Version: unspecified
          Hardware: PC
                OS: FreeBSD
            Status: NEW
          Severity: normal
          Priority: P
         Component: Driver
          Assignee: unassignedclangbugs at nondot.org
          Reporter: avg at FreeBSD.org
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

Assertion failed: (Weights.size() >= 2 && "Need at least two branch weights!"),
function createBranchWeights, file
/usr/src/lib/clang/libclangcodegen/../../../contrib/llvm/include/llvm/IR/MDBuilder.h,
line 65.
Stack dump:
0.      Program arguments: /usr/bin/clang -cc1 -triple
x86_64-unknown-freebsd11.0 -emit-obj -disable-free -main-file-name
OOJavaScriptEngine.m -mrelocation-model pic -pic-level 2 -mdisable-fp-elim
-relaxed-aliasing -masm-verbose -mconstructor-aliases -munwind-tables
-target-cpu amdfam10 -coverage-file
/usr/obj/ports/usr/ports/games/oolite/work/oolite-source-1.76/obj.spk/oolite.obj/OOJavaScriptEngine.m.o
-resource-dir /usr/bin/../lib/clang/3.3 -dependency-file
obj.spk/oolite.obj/OOJavaScriptEngine.m.d -MT
obj.spk/oolite.obj/OOJavaScriptEngine.m.o -MP -D GNUSTEP -D
GNUSTEP_BASE_LIBRARY=1 -D GNU_RUNTIME=1 -D GNUSTEP_BASE_LIBRARY=1 -D
_NATIVE_OBJC_EXCEPTIONS -D _NONFRAGILE_ABI -D GSWARN -D GSDIAGNOSE -D
LOADSAVEGUI -D LINUX -D XP_UNIX -D _GNU_SOURCE=1 -D _REENTRANT -D
HAVE_LIBESPEAK=1 -D MOZ_TRACE_JSCALLS=1 -D NDEBUG -D OO_CHECK_GL_HEAVY=0 -D
OO_EXCLUDE_DEBUG_SUPPORT=1 -D OO_OXP_VERIFIER_ENABLED=0 -D
OO_LOCALIZATION_TOOLS=0 -D DEBUG_GRAPHVIZ=0 -I /usr/local/include/SDL -I
/usr/local/include -I /usr/local/include/nspr -I
deps/Cross-platform-deps/mozilla/js/src/build-release/dist/include -I src/SDL
-I src/Core -I src/BSDCompat -I src/Core/Scripting -I src/Core/Materials -I
src/Core/Entities -I src/Core/OXPVerifier -I src/Core/Debug -I src/Core/Tables
-I . -I /home/avg/GNUstep/Library/Headers -I
/usr/local/GNUstep/Local/Library/Headers -I
/usr/local/GNUstep/System/Library/Headers -I /usr/local/include -O2 -Wall
-Wno-import -Wall -Wno-import -std=c99 -fdebug-compilation-dir
/usr/obj/ports/usr/ports/games/oolite/work/oolite-source-1.76
-fconstant-string-class NSConstantString -ferror-limit 19 -fmessage-length 230
-pthread -mstackrealign -fblocks -fobjc-runtime=gnustep-1.6
-fobjc-dispatch-method=non-legacy -fobjc-default-synthesize-properties
-fobjc-exceptions -fexceptions -fdiagnostics-show-option -fcolor-diagnostics
-backend-option -vectorize-loops -o obj.spk/oolite.obj/OOJavaScriptEngine.m.o
-x objective-c src/Core/Scripting/OOJavaScriptEngine.m 
1.      <eof> parser at end of file
2.      Per-module optimization passes
3.      Running pass 'CallGraph Pass Manager' on module
'src/Core/Scripting/OOJavaScriptEngine.m'.
4.      Running pass 'Simplify the CFG' on function
'@OOJSObjectGetterImplPRIVATE'
clang: error: unable to execute command: Abort trap (core dumped)
clang: error: clang frontend command failed due to signal (use -v to see
invocation)
FreeBSD clang version 3.3 (tags/RELEASE_33/final 183502) 20130610
Target: x86_64-unknown-freebsd11.0
Thread model: posix

-- 
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/20131128/8f22351f/attachment.html>


More information about the llvm-bugs mailing list