[llvm-bugs] [Bug 51655] New: Bad machine code: Live segment doesn't end at a valid instruction

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Aug 27 17:11:32 PDT 2021


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

            Bug ID: 51655
           Summary: Bad machine code: Live segment doesn't end at a valid
                    instruction
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Common Code Generator Code
          Assignee: unassignedbugs at nondot.org
          Reporter: francisvm at yahoo.com
                CC: llvm-bugs at lists.llvm.org

It looks like this might be coming from https://reviews.llvm.org/D106408

*** 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 at 4136r
- v. register: %577
- segment:     [4136r,4144r:0)
fatal error: error in backend: Found 1 machine code errors.

https://green.lab.llvm.org/green/job/clang-stage1-cmake-RA-expensive/20244/console

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

-- 
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/20210828/566c0ed7/attachment.html>


More information about the llvm-bugs mailing list