<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 - Segmentation fault when getting debug information on vla"
href="https://bugs.llvm.org/show_bug.cgi?id=36376">36376</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Segmentation fault when getting debug information on vla
</td>
</tr>
<tr>
<th>Product</th>
<td>clang
</td>
</tr>
<tr>
<th>Version</th>
<td>trunk
</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>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>Frontend
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedclangbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>minseong.kim@linaro.org
</td>
</tr>
<tr>
<th>CC</th>
<td>llvm-bugs@lists.llvm.org
</td>
</tr></table>
<p>
<div>
<pre>The error seems to occur from when the following clang commit is merged:
commit 6804b86ee9cc16b8a0dbc7024a497d179e88b4d4
Author: <a href="mailto:sander.desmalen@arm.com">sander.desmalen@arm.com</a>
Date: Sat Feb 3 13:55:59 2018 +0000
Version:
clang version 7.0.0 (<a href="https://git.llvm.org/git/clang.git">https://git.llvm.org/git/clang.git</a>
d0f176e8eb6c5cc7c1e89436b25692baedd6aca1) (<a href="https://git.llvm.org/git/llvm.git">https://git.llvm.org/git/llvm.git</a>
35abcb5e69a5179697ffa935cda96b36e17704cf)
Command:
"clang++" "-cc1" "-triple" "thumbv8--linux-android" "-emit-obj" "-mnoexecstack"
"-disable-free" "-disable-llvm-verifier" "-discard-value-names"
"-main-file-name" "Effect.cpp" "-mrelocation-model" "pic" "-pic-level" "2"
"-mthread-model" "posix" "-relaxed-aliasing" "-fmath-errno" "-masm-verbose"
"-mconstructor-aliases" "-munwind-tables" "-fuse-init-array" "-target-cpu"
"cortex-a53" "-target-feature" "+soft-float-abi" "-target-feature" "+crc"
"-target-feature" "+dsp" "-target-feature" "-ras" "-target-feature" "-dotprod"
"-target-feature" "+hwdiv-arm" "-target-feature" "+hwdiv" "-target-feature"
"-fp-only-sp" "-target-feature" "-d16" "-target-feature" "+fp-armv8"
"-target-feature" "+neon" "-target-feature" "-crypto" "-target-abi"
"aapcs-linux" "-mfloat-abi" "soft" "-fallow-half-arguments-and-returns"
"-dwarf-column-info" "-debug-info-kind=limited" "-dwarf-version=4"
"-debugger-tuning=gdb" "-ffunction-sections" "-fdata-sections"
"-coverage-notes-file" "-nostdsysteminc" "-sys-header-deps" "-D" "ANDROID" "-D"
"NDEBUG" "-U" "DEBUG" "-D" "__compiler_offsetof=__builtin_offsetof" "-D"
"_FORTIFY_SOURCE=2" "-D" "__ARM_FEATURE_LPAE=1" "-D" "ANDROID_STRICT" "-D"
"_USING_LIBCXX" "-D" "_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS" "-O2" "-W"
"-Wall" "-Wno-unused" "-Winit-self" "-Wpointer-arith" "-Wno-multichar"
"-Werror=int-conversion" "-Wno-reserved-id-macro" "-Wno-format-pedantic"
"-Wno-unused-command-line-argument" "-Wno-expansion-to-defined"
"-Wno-zero-as-null-pointer-constant" "-Wstrict-aliasing=2"
"-Werror=return-type" "-Werror=non-virtual-dtor" "-Werror=address"
"-Werror=sequence-point" "-Werror=date-time" "-Werror=format-security" "-Wall"
"-Werror" "-Wsign-promo" "-Wno-inconsistent-missing-override"
"-Wno-null-dereference" "-Wno-thread-safety-negative"
"-Werror=int-to-pointer-cast" "-Werror=pointer-to-int-cast"
"-Werror=address-of-temporary" "-Werror=return-type"
"-Wno-error=tautological-constant-compare" "-Wno-error=null-pointer-arithmetic"
"-Wno-error=enum-compare" "-Wno-error=enum-compare-switch" "-Wno-error"
"-std=gnu++14" "-fdeprecated-macro" "-fdebug-prefix-map=/proc/self/cwd="
"-ferror-limit" "19" "-fmessage-length" "0" "-fvisibility-inlines-hidden"
"-femulated-tls" "-stack-protector" "2" "-fno-rtti" "-fno-signed-char"
"-fobjc-runtime=gcc" "-fdiagnostics-show-option" "-fcolor-diagnostics"
"-vectorize-loops" "-vectorize-slp" "-x" "c++" "Effect-ca8ba8.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>