[LLVMbugs] [Bug 16928] New: Fission interacts poorly with crash reporting
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Sat Aug 17 18:48:34 PDT 2013
http://llvm.org/bugs/show_bug.cgi?id=16928
Bug ID: 16928
Summary: Fission interacts poorly with crash reporting
Product: clang
Version: unspecified
Hardware: PC
OS: All
Status: NEW
Keywords: googler
Severity: normal
Priority: P
Component: Driver
Assignee: unassignedclangbugs at nondot.org
Reporter: dblaikie at gmail.com
CC: echristo at gmail.com, llvmbugs at cs.uiuc.edu
Classification: Unclassified
Filing off the cuff (for me or Eric or anyone to look at more closely at some
point) - it looks, at first glance, like fission (-gsplit-dwarf) is interacting
poorly with Clang's crash reporting functionality.
For example, I got a crash report with the following .sh file:
/mnt/fast/dev/llvm/build/clang/debug/bin/clang-3.3 -cc1 -triple
x86_64-unknown-linux-gnu -emit-obj -mrelax-all -disable-free -main-file-name
opt.cpp -mrelocation-model pic -pic-level 2 -mdisable-fp-elim -fmath-errno
-masm-verbose -mconstructor-aliases -munwind-tables -target-cpu x86-64 -g -g
-backend-option -split-dwarf=Enable -D "_DEBUG" -D "_GNU_SOURCE" -D
"__STDC_CONSTANT_MACROS" -D "__STDC_FORMAT_MACROS" -D "__STDC_LIMIT_MACROS" -D
"opt_EXPORTS" -Wall -W -Wno-unused-parameter -Wwrite-strings
-Wmissing-field-initializers -Wno-long-long -Wcovered-switch-default
-Wnon-virtual-dtor -Werror -pedantic -std=c++11 -fconst-strings
-fdeprecated-macro -ferror-limit 19 -fmessage-length 0
-fvisibility-inlines-hidden -mstackrealign -fno-rtti -fobjc-runtime=gcc
-fobjc-default-synthesize-properties -fdiagnostics-show-option
-fcolor-diagnostics -vectorize-slp -x c++
/usr/local/google/home/blaikie/dev/llvm/src/tools/opt/opt.cpp -split-dwarf-file
opt-65300c.cpp.dwo
Notice that the '.cpp' file name has not been modified to refer to the crash
report post-processed file, but the split-dwarf file name seems to have been
changed.
Hand modifying the script/command to refer to opt-65300c.cpp produces the
expected reproducible crash.
--
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/20130818/85cb9899/attachment.html>
More information about the llvm-bugs
mailing list