<html>
    <head>
      <base href="https://llvm.org/bugs/" />
    </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 --- - Regression: Assertion failed: (MI.hasOneMemOperand() && "Spill instruction does not have exactly one memory operand?") when building chrome/ios"
   href="https://llvm.org/bugs/show_bug.cgi?id=31935">31935</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Regression: Assertion failed: (MI.hasOneMemOperand() && "Spill instruction does not have exactly one memory operand?") when building chrome/ios
          </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>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Backend: AArch64
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>nicolasweber@gmx.de
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>FAILED: obj/base/base/json_parser.o 
../../../../llvm-build/bin/clang++ -MMD -MF obj/base/base/json_parser.o.d
-DSYSTEM_NATIVE_UTF8 -DV8_DEPRECATION_WARNINGS -DNO_TCMALLOC -DDISABLE_NACL
-DCHROMIUM_BUILD -DFIELDTRIAL_TESTING_ENABLED -DCR_CLANG_REVISION=289944-2
-DCR_XCODE_VERSION=0810 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS
-D_FORTIFY_SOURCE=2 -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0
-DBASE_IMPLEMENTATION -I../.. -Igen -fno-strict-aliasing
--param=ssp-buffer-size=4 -fstack-protector -fcolor-diagnostics -arch arm64
-Wall -Werror -Wextra -Wundeclared-selector -Wno-missing-field-initializers
-Wno-unused-parameter -Wno-c++11-narrowing -Wno-covered-switch-default
-Wno-deprecated-register -Wno-unneeded-internal-declaration
-Wno-inconsistent-missing-override -Wno-shift-negative-value
-Wno-undefined-var-template -Wno-nonportable-include-path
-Wno-address-of-packed-member -gdwarf-2 -isysroot
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.1.sdk
-stdlib=libc++ -miphoneos-version-min=9.0 -fvisibility=hidden -Wheader-hygiene
-Wstring-conversion -Wtautological-overlap-compare -Wno-char-subscripts
-Wexit-time-destructors -Wexit-time-destructors -O2 -fno-threadsafe-statics
-fvisibility-inlines-hidden -std=c++11 -fno-rtti -fno-exceptions -c
../../base/json/json_parser.cc -o obj/base/base/json_parser.o
Assertion failed: (MI.hasOneMemOperand() && "Spill instruction does not have
exactly one memory operand?"), function extractSpillBaseRegAndOffset, file
/Users/thakis/src/llvm-rw/lib/CodeGen/LiveDebugValues.cpp, line 331.
Stack dump:
0.    Program arguments: /Users/thakis/src/llvm-build/bin/clang-3.8 -cc1
-triple arm64-apple-ios9.0.0 -Wdeprecated-objc-isa-usage
-Werror=deprecated-objc-isa-usage -Werror=implicit-function-declaration
-emit-obj -disable-free -main-file-name json_parser.cc -mrelocation-model pic
-pic-level 2 -mthread-model posix -mdisable-fp-elim -relaxed-aliasing
-masm-verbose -target-cpu cyclone -target-feature +neon -target-feature +crypto
-target-feature +zcm -target-feature +zcz -target-abi darwinpcs
-target-linker-version 274.1 -dwarf-column-info -debug-info-kind=standalone
-dwarf-version=2 -debugger-tuning=lldb -coverage-notes-file
/Users/thakis/src/chrome/src/out/Release-iphoneos/obj/base/base/json_parser.gcno
-resource-dir /Users/thakis/src/llvm-build/bin/../lib/clang/5.0.0
-dependency-file obj/base/base/json_parser.o.d -MT obj/base/base/json_parser.o
-isysroot
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.1.sdk
-D SYSTEM_NATIVE_UTF8 -D V8_DEPRECATION_WARNINGS -D NO_TCMALLOC -D DISABLE_NACL
-D CHROMIUM_BUILD -D FIELDTRIAL_TESTING_ENABLED -D CR_CLANG_REVISION=289944-2
-D CR_XCODE_VERSION=0810 -D __STDC_CONSTANT_MACROS -D __STDC_FORMAT_MACROS -D
_FORTIFY_SOURCE=2 -D NDEBUG -D NVALGRIND -D DYNAMIC_ANNOTATIONS_ENABLED=0 -D
BASE_IMPLEMENTATION -I ../.. -I gen -stdlib=libc++ -O2 -Wall -Werror -Wextra
-Wundeclared-selector -Wno-missing-field-initializers -Wno-unused-parameter
-Wno-c++11-narrowing -Wno-covered-switch-default -Wno-deprecated-register
-Wno-unneeded-internal-declaration -Wno-inconsistent-missing-override
-Wno-shift-negative-value -Wno-undefined-var-template
-Wno-nonportable-include-path -Wno-address-of-packed-member -Wheader-hygiene
-Wstring-conversion -Wtautological-overlap-compare -Wno-char-subscripts
-Wexit-time-destructors -Wexit-time-destructors -std=c++11 -fdeprecated-macro
-fdebug-compilation-dir /Users/thakis/src/chrome/src/out/Release-iphoneos
-ferror-limit 19 -fmessage-length 0 -fvisibility hidden
-fvisibility-inlines-hidden -stack-protector 1 -stack-protector-buffer-size 4
-fallow-half-arguments-and-returns -fblocks -fno-rtti -fno-threadsafe-statics
-fobjc-runtime=ios-9.0.0 -fencode-extended-block-signature -fmax-type-align=16
-fdiagnostics-show-option -fcolor-diagnostics -vectorize-loops -vectorize-slp
-o obj/base/base/json_parser.o -x c++ ../../base/json/json_parser.cc 
1.    <eof> parser at end of file
2.    Code generation
3.    Running pass 'Function Pass Manager' on module
'../../base/json/json_parser.cc'.
4.    Running pass 'Live DEBUG_VALUE analysis' on function
'@_ZN4base8internal10JSONParser16ConsumeStringRawEPNS1_13StringBuilderE'
clang-3.8: error: unable to execute command: Abort trap: 6
clang-3.8: error: clang frontend command failed due to signal (use -v to see
invocation)
clang version 5.0.0 (trunk 294784)
Target: aarch64-apple-darwin16.3.0
Thread model: posix
InstalledDir:
/Users/thakis/src/chrome/src/out/Release-iphoneos/../../../../llvm-build/bin
clang-3.8: note: diagnostic msg: PLEASE submit a bug report to
<a href="http://llvm.org/bugs/">http://llvm.org/bugs/</a> and include the crash backtrace, preprocessed source, and
associated run script.
clang-3.8: note: diagnostic msg: 
********************

PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang-3.8: note: diagnostic msg:
/var/folders/8l/9f5fzjf51blfh76hsyzp3fvm001mqv/T/json_parser-cb4462.cpp
clang-3.8: note: diagnostic msg:
/var/folders/8l/9f5fzjf51blfh76hsyzp3fvm001mqv/T/json_parser-cb4462.sh
clang-3.8: note: diagnostic msg: Crash backtrace is located in
clang-3.8: note: diagnostic msg:
/Users/thakis/Library/Logs/DiagnosticReports/clang-3.8_<YYYY-MM-DD-HHMMSS>_<hostname>.crash
clang-3.8: note: diagnostic msg: (choose the .crash file that corresponds to
your crash)
clang-3.8: note: diagnostic msg: 

********************
ninja: build stopped: subcommand failed.


attaching repro in a second</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>