[llvm-bugs] [Bug 36376] New: Segmentation fault when getting debug information on vla

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Feb 13 23:28:41 PST 2018


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

            Bug ID: 36376
           Summary: Segmentation fault when getting debug information on
                    vla
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Frontend
          Assignee: unassignedclangbugs at nondot.org
          Reporter: minseong.kim at linaro.org
                CC: llvm-bugs at lists.llvm.org

The error seems to occur from when the following clang commit is merged:

   commit 6804b86ee9cc16b8a0dbc7024a497d179e88b4d4
   Author: sander.desmalen at arm.com
   Date:   Sat Feb 3 13:55:59 2018 +0000

Version:
clang version 7.0.0 (https://git.llvm.org/git/clang.git
d0f176e8eb6c5cc7c1e89436b25692baedd6aca1) (https://git.llvm.org/git/llvm.git
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"

-- 
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/20180214/f19d1567/attachment.html>


More information about the llvm-bugs mailing list