<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 - Bad machine code: Live segment doesn't end at a valid instruction"
href="https://bugs.llvm.org/show_bug.cgi?id=51655">51655</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Bad machine code: Live segment doesn't end at a valid instruction
</td>
</tr>
<tr>
<th>Product</th>
<td>libraries
</td>
</tr>
<tr>
<th>Version</th>
<td>trunk
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</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>Common Code Generator Code
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>francisvm@yahoo.com
</td>
</tr>
<tr>
<th>CC</th>
<td>llvm-bugs@lists.llvm.org
</td>
</tr></table>
<p>
<div>
<pre>It looks like this might be coming from <a href="https://reviews.llvm.org/D106408">https://reviews.llvm.org/D106408</a>
*** Bad machine code: Live segment doesn't end at a valid instruction ***
- function: _ZN11__sanitizer16internal_strlcpyEPcPKcm
- basic block: %bb.29 vector.memcheck97 (0x7fa6b501e9e0) [4088B;4224B)
- liverange: [4136r,4144r:0) 0@4136r
- v. register: %577
- segment: [4136r,4144r:0)
fatal error: error in backend: Found 1 machine code errors.
<a href="https://green.lab.llvm.org/green/job/clang-stage1-cmake-RA-expensive/20244/console">https://green.lab.llvm.org/green/job/clang-stage1-cmake-RA-expensive/20244/console</a>
FAILED:
lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.iossim.dir/sanitizer_libc.cpp.o
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/./bin/clang++
-DHAVE_RPC_XDR_H=0
-I/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/llvm-project/compiler-rt/lib/sanitizer_common/..
-Wall -std=c++14 -Wno-unused-parameter -O3 -DNDEBUG -arch i386 -arch x86_64
-isysroot
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk
-stdlib=libc++ -mios-simulator-version-min=9.0 -isysroot
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.5.sdk
-fPIC -fno-builtin -fno-exceptions -funwind-tables -fno-stack-protector
-fno-sanitize=safe-stack -fvisibility=hidden -fno-lto -Wthread-safety
-Wthread-safety-reference -Wthread-safety-beta -O3 -g -Wno-gnu
-Wno-variadic-macros -Wno-c99-extensions -Wno-format-pedantic -nostdinc++
-Wno-format -fno-rtti -Wframe-larger-than=570 -Wglobal-constructors -MD -MT
lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.iossim.dir/sanitizer_libc.cpp.o
-MF
lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.iossim.dir/sanitizer_libc.cpp.o.d
-o
lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.iossim.dir/sanitizer_libc.cpp.o
-c
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/llvm-project/compiler-rt/lib/sanitizer_common/sanitizer_libc.cpp</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>