[llvm-bugs] [Bug 27579] New: Assertion failed: (Cu && "We should not have orphaned DIEs.")

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Apr 29 14:22:45 PDT 2016


https://llvm.org/bugs/show_bug.cgi?id=27579

            Bug ID: 27579
           Summary: Assertion failed: (Cu && "We should not have orphaned
                    DIEs.")
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: DebugInfo
          Assignee: unassignedbugs at nondot.org
          Reporter: hans at chromium.org
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

This happens when building Chrome for iOS with tip-of-tree Clang.

FAILED: obj/breakpad/src/client/mac/handler/breakpad_client.dynamic_images.o 
../../third_party/llvm-build/Release+Asserts/bin/clang++ -MMD -MF
obj/breakpad/src/client/mac/handler/breakpad_client.dynamic_images.o.d
-DV8_DEPRECATION_WARNINGS -DDISABLE_NACL -DCHROMIUM_BUILD
-DCR_CLANG_REVISION=268086 -DUSE_LIBJPEG_TURBO=1 -DFIELDTRIAL_TESTING_ENABLED
-DDISABLE_FTP_SUPPORT=1 -DV8_USE_EXTERNAL_STARTUP_DATA -DUSE_LIBPCI=1 -DNDEBUG
-DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DNS_BLOCK_ASSERTIONS=1 -Igen
-I../../breakpad/src -I../../breakpad/src/client/mac/Framework
-I../../breakpad/src/common/mac -isysroot
/Applications/Xcode7.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.0.sdk
-Os -gdwarf-2 -fvisibility=hidden -Werror -miphoneos-version-min=9.0 -arch
armv7 -Wall -Wno-unused-parameter -Wno-missing-field-initializers
-Wno-selector-type-mismatch -Wheader-hygiene -Wno-char-subscripts
-Wno-unneeded-internal-declaration -Wno-covered-switch-default
-Wstring-conversion -Wno-c++11-narrowing -Wno-deprecated-register
-Wno-inconsistent-missing-override -Wno-shift-negative-value
-Wno-undefined-var-template -Wno-unused-variable -Wno-deprecated-declarations
-std=c++11 -stdlib=libc++ -fno-rtti -fno-exceptions -fvisibility-inlines-hidden
-fno-threadsafe-statics -fcolor-diagnostics  -c
../../breakpad/src/client/mac/handler/dynamic_images.cc -o
obj/breakpad/src/client/mac/handler/breakpad_client.dynamic_images.o
Assertion failed: (Cu && "We should not have orphaned DIEs."), function
getUnit, file
/b/build/slave/ClangToTiOS/build/src/third_party/llvm/lib/CodeGen/AsmPrinter/DIE.cpp,
line 122.
0  clang-3.9                0x0000000106ca929b
llvm::sys::PrintStackTrace(llvm::raw_ostream&) + 43
1  clang-3.9                0x0000000106ca84b6 llvm::sys::RunSignalHandlers() +
70
2  clang-3.9                0x0000000106ca9abf abort + 767
3  libsystem_platform.dylib 0x00007fff8e369f1a _sigtramp + 26
4  clang-3.9                0x0000000109073b81 clang::Stmt::StatisticsEnabled +
219521
5  clang-3.9                0x0000000106ca97d6 abort + 22
6  clang-3.9                0x0000000106ca97b1 __assert_rtn + 81
7  clang-3.9                0x00000001072256fe llvm::DIE::getUnit() const + 78
8  clang-3.9                0x000000010722db0c
llvm::DwarfAccelTable::EmitData(llvm::AsmPrinter*, llvm::DwarfDebug*) + 396
9  clang-3.9                0x000000010722dd91
llvm::DwarfAccelTable::emit(llvm::AsmPrinter*, llvm::MCSymbol const*,
llvm::DwarfDebug*) + 289
10 clang-3.9                0x000000010723b3ef llvm::DwarfDebug::endModule() +
847
11 clang-3.9                0x0000000107215869
llvm::AsmPrinter::doFinalization(llvm::Module&) + 873
12 clang-3.9                0x000000010687d660
llvm::FPPassManager::doFinalization(llvm::Module&) + 80
13 clang-3.9                0x000000010687dbdd
llvm::legacy::PassManagerImpl::run(llvm::Module&) + 1325
14 clang-3.9                0x0000000106e2f978
clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::CodeGenOptions
const&, clang::TargetOptions const&, clang::LangOptions const&,
llvm::DataLayout const&, llvm::Module*, clang::BackendAction,
llvm::raw_pwrite_stream*) + 11432
15 clang-3.9                0x0000000106e2cdda
clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::CodeGenOptions
const&, clang::TargetOptions const&, clang::LangOptions const&,
llvm::DataLayout const&, llvm::Module*, clang::BackendAction,
llvm::raw_pwrite_stream*) + 266
16 clang-3.9                0x0000000106fd539b
clang::EmitObjAction::EmitObjAction(llvm::LLVMContext*) + 1547
17 clang-3.9                0x000000010777ee75 clang::ParseAST(clang::Sema&,
bool, bool) + 581
18 clang-3.9                0x00000001071b74ab clang::FrontendAction::Execute()
+ 75
19 clang-3.9                0x000000010717c3a1
clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) + 1073
20 clang-3.9                0x00000001071fb739
clang::ExecuteCompilerInvocation(clang::CompilerInstance*) + 4713
21 clang-3.9                0x00000001059048fd cc1_main(llvm::ArrayRef<char
const*>, char const*, void*) + 1373
22 clang-3.9                0x0000000105903300 main + 11776
23 libdyld.dylib            0x00007fff86f335c9 start + 1
Stack dump:
0.    Program arguments:
/b/build/slave/ClangToTiOS/build/src/third_party/llvm-build/Release+Asserts/bin/clang-3.9
-cc1 -triple thumbv7-apple-ios9.0.0 -emit-obj -disable-free -main-file-name
dynamic_images.cc -mrelocation-model pic -pic-level 2 -mthread-model posix
-mdisable-fp-elim -masm-verbose -target-cpu cortex-a8 -target-feature
+soft-float-abi -target-abi apcs-gnu -mfloat-abi soft -target-linker-version
253.3 -dwarf-column-info -debug-info-kind=standalone -dwarf-version=2
-debugger-tuning=lldb -coverage-file
/b/build/slave/ClangToTiOS/build/src/out/Release-iphoneos/obj/breakpad/src/client/mac/handler/breakpad_client.dynamic_images.o
-resource-dir
/b/build/slave/ClangToTiOS/build/src/third_party/llvm-build/Release+Asserts/bin/../lib/clang/3.9.0
-dependency-file
obj/breakpad/src/client/mac/handler/breakpad_client.dynamic_images.o.d -MT
obj/breakpad/src/client/mac/handler/breakpad_client.dynamic_images.o -isysroot
/Applications/Xcode7.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.0.sdk
-D V8_DEPRECATION_WARNINGS -D DISABLE_NACL -D CHROMIUM_BUILD -D
CR_CLANG_REVISION=268086 -D USE_LIBJPEG_TURBO=1 -D FIELDTRIAL_TESTING_ENABLED
-D DISABLE_FTP_SUPPORT=1 -D V8_USE_EXTERNAL_STARTUP_DATA -D USE_LIBPCI=1 -D
NDEBUG -D NVALGRIND -D DYNAMIC_ANNOTATIONS_ENABLED=0 -D NS_BLOCK_ASSERTIONS=1
-I gen -I ../../breakpad/src -I ../../breakpad/src/client/mac/Framework -I
../../breakpad/src/common/mac -stdlib=libc++ -Os -Werror -Wall
-Wno-unused-parameter -Wno-missing-field-initializers
-Wno-selector-type-mismatch -Wheader-hygiene -Wno-char-subscripts
-Wno-unneeded-internal-declaration -Wno-covered-switch-default
-Wstring-conversion -Wno-c++11-narrowing -Wno-deprecated-register
-Wno-inconsistent-missing-override -Wno-shift-negative-value
-Wno-undefined-var-template -Wno-unused-variable -Wno-deprecated-declarations
-std=c++11 -fdeprecated-macro -fdebug-compilation-dir
/b/build/slave/ClangToTiOS/build/src/out/Release-iphoneos -ferror-limit 19
-fmessage-length 0 -fvisibility hidden -fvisibility-inlines-hidden
-stack-protector 1 -fallow-half-arguments-and-returns -fblocks -fno-rtti
-fno-threadsafe-statics -fobjc-runtime=ios-9.0.0
-fencode-extended-block-signature -fsjlj-exceptions -fmax-type-align=16
-fdiagnostics-show-option -fcolor-diagnostics -vectorize-loops -vectorize-slp
-o obj/breakpad/src/client/mac/handler/breakpad_client.dynamic_images.o -x c++
../../breakpad/src/client/mac/handler/dynamic_images.cc 
1.    <eof> parser at end of file
2.    Code generation
clang-3.9: error: unable to execute command: Illegal instruction: 4
clang-3.9: error: clang frontend command failed due to signal (use -v to see
invocation)
clang version 3.9.0 (trunk 268086)
Target: arm-apple-darwin14.5.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/20160429/1eb9a362/attachment-0001.html>


More information about the llvm-bugs mailing list