llvm-6502/tools
Duncan P. N. Exon Smith aaff953db4 llvm-dis: Stop crashing when dropping debug info
Since r199356, we've printed a warning when dropping debug info.
r225562 started crashing on that, since it registered a diagnostic
handler that only expected errors.  This fixes the handler to expect
other severities.  As a side effect, it now prints "error: " at the
start of error messages, similar to `llvm-as`.

There was a testcase for r199356, but it only really checked the
assembler.  Move `test/Bitcode/drop-debug-info.ll` to `test/Assembler`,
and introduce `test/Bitcode/drop-debug-info.3.5.ll` (and companion
`.bc`) to test the bitcode reader.

Note: tools/gold/gold-plugin.cpp has an equivalent bug, but I'm not sure
what the best fix is there.  I'll file a PR.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@230416 91177308-0d34-0410-b5e6-96231b3b80d8
2015-02-25 01:10:03 +00:00
..
bugpoint [PM] Remove the old 'PassManager.h' header file at the top level of 2015-02-13 10:01:29 +00:00
bugpoint-passes
dsymutil [dsymutil] Add DIE selection algorithm. 2015-02-13 23:18:34 +00:00
gold Set the datalayout in the gold plugin. 2015-02-21 00:13:15 +00:00
llc [PM] Remove the old 'PassManager.h' header file at the top level of 2015-02-13 10:01:29 +00:00
lli [CMake] Add RuntimeDyld to libdeps corresponding to r229343. 2015-02-16 02:13:30 +00:00
llvm-ar llvm-ar: Remove unimplemented -N option from -help 2015-01-28 06:00:01 +00:00
llvm-as
llvm-bcanalyzer [opaque pointer type] Bitcode support for explicit type parameter on GEP. 2015-02-25 01:08:52 +00:00
llvm-c-test Fix build breakage caused by memory leaks in llvm-c-test 2015-01-28 18:32:31 +00:00
llvm-config [cmake] Teach the llvm-config program to respect LLVM_LIBDIR_SUFFIX. 2014-12-29 11:16:25 +00:00
llvm-cov InstrProf: Teach llvm-cov to show the max count instead of the last 2015-02-23 21:21:34 +00:00
llvm-diff
llvm-dis llvm-dis: Stop crashing when dropping debug info 2015-02-25 01:10:03 +00:00
llvm-dwarfdump Move DebugInfo to DebugInfo/DWARF. 2015-01-30 18:07:45 +00:00
llvm-extract [PM] Remove the old 'PassManager.h' header file at the top level of 2015-02-13 10:01:29 +00:00
llvm-go llvm-go: Set $GCCGO instead of putting a gccgo executable on $PATH. 2015-02-14 01:45:57 +00:00
llvm-jitlistener Fix lli after the DebugInfo move. 2015-01-30 18:42:03 +00:00
llvm-link
llvm-lto [LTO API] add lto_codegen_set_module to set the destination module. 2015-02-24 00:45:56 +00:00
llvm-mc llvm-mc: Use Target::createNullStreamer to fix crashes on target-specific asm directives. 2015-02-19 00:45:04 +00:00
llvm-mcmarkup
llvm-nm [cleanup] Re-sort all the #include lines in LLVM using 2015-01-14 11:23:27 +00:00
llvm-objdump Add code to llvm-objdump so the -section option with -macho will dump literal pointer sections 2015-02-17 21:35:48 +00:00
llvm-pdbdump [llvm-pdbdump] Remove unused variables. 2015-02-23 11:33:54 +00:00
llvm-profdata Assigning and copying command line option objects shouldn't be allowed. 2015-01-22 01:49:59 +00:00
llvm-readobj Modify llvm-readobj to dump symbol record bytes. 2015-02-18 19:32:05 +00:00
llvm-rtdyld Move DebugInfo to DebugInfo/DWARF. 2015-01-30 18:07:45 +00:00
llvm-shlib Revert "Raising minimum required CMake version to 2.8.12.2." 2015-02-24 16:39:46 +00:00
llvm-size Assigning and copying command line option objects shouldn't be allowed. 2015-01-22 01:49:59 +00:00
llvm-stress [PM] Remove the old 'PassManager.h' header file at the top level of 2015-02-13 10:01:29 +00:00
llvm-symbolizer Move DebugInfo to DebugInfo/DWARF. 2015-01-30 18:07:45 +00:00
llvm-vtabledump
lto [LTO API] add lto_codegen_set_module to set the destination module. 2015-02-24 00:45:56 +00:00
macho-dump Add printing the LC_LINKER_OPTION load command with llvm-objdump’s -private-headers. 2014-12-18 00:53:40 +00:00
msbuild
obj2yaml [obj2yaml/yaml2obj] Add SHT_GROUP support. 2015-02-21 04:28:26 +00:00
opt Add an IR-to-IR test for dwarf EH preparation using opt 2015-02-18 23:17:41 +00:00
verify-uselistorder Prologue support 2014-12-03 02:08:38 +00:00
yaml2obj [obj2yaml/yaml2obj] Add SHT_GROUP support. 2015-02-21 04:28:26 +00:00
CMakeLists.txt Rewrite llvm-pdbdump in terms of LLVMDebugInfoPDB. 2015-02-10 22:43:25 +00:00
LLVMBuild.txt Add llvm-pdbdump to tools. 2015-01-27 20:46:21 +00:00
Makefile Rewrite llvm-pdbdump in terms of LLVMDebugInfoPDB. 2015-02-10 22:43:25 +00:00