[llvm-bugs] [Bug 49554] New: "Malformed instrumentation profile data" compiling compiler-rt/lib/asan/asan_debugging.cpp after f65e1aee4004

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Mar 12 06:09:33 PST 2021


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

            Bug ID: 49554
           Summary: "Malformed instrumentation profile data" compiling
                    compiler-rt/lib/asan/asan_debugging.cpp after
                    f65e1aee4004
           Product: clang
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: LLVM Codegen
          Assignee: unassignedclangbugs at nondot.org
          Reporter: nicolasweber at gmx.de
                CC: llvm-bugs at lists.llvm.org, neeilans at live.com,
                    richard-llvm at metafoo.co.uk

[1401/1401] CXX stage2_unix/obj/compiler-rt/lib/asan/asan.asan_debugging.o
FAILED: stage2_unix/obj/compiler-rt/lib/asan/asan.asan_debugging.o 
./bin/clang++ -MMD -MF
stage2_unix/obj/compiler-rt/lib/asan/asan.asan_debugging.o.d -o
stage2_unix/obj/compiler-rt/lib/asan/asan.asan_debugging.o -c
../../compiler-rt/lib/asan/asan_debugging.cpp  -I../../compiler-rt/lib
-I../../compiler-rt/lib -fno-builtin -ftls-model=initial-exec -O3
-fdiagnostics-color -Wall -Wextra -Wno-unused-parameter
-Wdelete-non-virtual-dtor -Wstring-conversion -no-canonical-prefixes
-Werror=date-time --sysroot=../../sysroot -Wpoison-system-directories
-Wcovered-switch-default -fPIC -funwind-tables -gline-tables-only
-fvisibility=hidden -std=c++14 -fvisibility-inlines-hidden -fno-exceptions
-fno-rtti
Program aborted due to an unhandled Error:
Malformed instrumentation profile data
PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash
backtrace, preprocessed source, and associated run script.
Stack dump:
0.      Program arguments: ./bin/clang++ -MMD -MF
stage2_unix/obj/compiler-rt/lib/asan/asan.asan_debugging.o.d -o
stage2_unix/obj/compiler-rt/lib/asan/asan.asan_debugging.o -c
../../compiler-rt/lib/asan/asan_debugging.cpp -I../../compiler-rt/lib
-I../../compiler-rt/lib -fno-builtin -ftls-model=initial-exec -O3
-fdiagnostics-color -Wall -Wextra -Wno-unused-parameter
-Wdelete-non-virtual-dtor -Wstring-conversion -no-canonical-prefixes
-Werror=date-time --sysroot=../../sysroot -Wpoison-system-directories
-Wcovered-switch-default -fPIC -funwind-tables -gline-tables-only
-fvisibility=hidden -std=c++14 -fvisibility-inlines-hidden -fno-exceptions
-fno-rtti
1.      <eof> parser at end of file
2.      Optimizer
 #0 0x0000000002eb518c llvm::sys::PrintStackTrace(llvm::raw_ostream&, int)
(./bin/clang+++0x2eb518c)
 #1 0x0000000002eb306e llvm::sys::RunSignalHandlers() (./bin/clang+++0x2eb306e)
 #2 0x0000000002eb450d llvm::sys::CleanupOnSignal(unsigned long)
(./bin/clang+++0x2eb450d)
 #3 0x0000000002e3c8dd (anonymous
namespace)::CrashRecoveryContextImpl::HandleCrash(int, unsigned long)
CrashRecoveryContext.cpp:0:0
 #4 0x0000000002e3ca3e CrashRecoverySignalHandler(int)
CrashRecoveryContext.cpp:0:0
 #5 0x00007f40d469c140 __restore_rt
(/lib/x86_64-linux-gnu/libpthread.so.0+0x14140)
 #6 0x00007f40d41b4ce1 raise ./signal/../sysdeps/unix/sysv/linux/raise.c:51:1
 #7 0x00007f40d419e537 abort ./stdlib/abort.c:81:7
 #8 0x0000000002e4040c llvm::Error::fatalUncheckedError() const
(./bin/clang+++0x2e4040c)
 #9 0x00000000031a478f runCGProfilePass(llvm::Module&,
llvm::function_ref<llvm::BlockFrequencyInfo& (llvm::Function&)>,
llvm::function_ref<llvm::TargetTransformInfo& (llvm::Function&)>, bool)
CGProfile.cpp:0:0
#10 0x00000000031a34de llvm::CGProfilePass::run(llvm::Module&,
llvm::AnalysisManager<llvm::Module>&) (./bin/clang+++0x31a34de)
#11 0x000000000495083d llvm::detail::PassModel<llvm::Module,
llvm::CGProfilePass, llvm::PreservedAnalyses,
llvm::AnalysisManager<llvm::Module> >::run(llvm::Module&,
llvm::AnalysisManager<llvm::Module>&) PassBuilder.cpp:0:0
#12 0x0000000002cee9fe llvm::PassManager<llvm::Module,
llvm::AnalysisManager<llvm::Module> >::run(llvm::Module&,
llvm::AnalysisManager<llvm::Module>&) (./bin/clang+++0x2cee9fe)
#13 0x0000000002143eb8 (anonymous
namespace)::EmitAssemblyHelper::EmitAssemblyWithNewPassManager(clang::BackendAction,
std::unique_ptr<llvm::raw_pwrite_stream,
std::default_delete<llvm::raw_pwrite_stream> >) BackendUtil.cpp:0:0
#14 0x000000000213e134 clang::EmitBackendOutput(clang::DiagnosticsEngine&,
clang::HeaderSearchOptions const&, clang::CodeGenOptions const&,
clang::TargetOptions const&, clang::LangOptions const&, llvm::DataLayout
const&, llvm::Module*, clang::BackendAction,
std::unique_ptr<llvm::raw_pwrite_stream,
std::default_delete<llvm::raw_pwrite_stream> >) (./bin/clang+++0x213e134)
#15 0x00000000024945d4
clang::BackendConsumer::HandleTranslationUnit(clang::ASTContext&)
CodeGenAction.cpp:0:0
#16 0x0000000003c5a6c4 clang::ParseAST(clang::Sema&, bool, bool)
(./bin/clang+++0x3c5a6c4)

-- 
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/20210312/8c134d31/attachment.html>


More information about the llvm-bugs mailing list