<html>
<head>
<base href="https://bugs.llvm.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - "Malformed instrumentation profile data" compiling compiler-rt/lib/asan/asan_debugging.cpp after f65e1aee4004"
href="https://bugs.llvm.org/show_bug.cgi?id=49554">49554</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>"Malformed instrumentation profile data" compiling compiler-rt/lib/asan/asan_debugging.cpp after f65e1aee4004
</td>
</tr>
<tr>
<th>Product</th>
<td>clang
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>enhancement
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>LLVM Codegen
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedclangbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>nicolasweber@gmx.de
</td>
</tr>
<tr>
<th>CC</th>
<td>llvm-bugs@lists.llvm.org, neeilans@live.com, richard-llvm@metafoo.co.uk
</td>
</tr></table>
<p>
<div>
<pre>[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 <a href="https://bugs.llvm.org/">https://bugs.llvm.org/</a> 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)</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>