llvm/lib/AsmParser
Manman Ren 7d318bd116 Debug Info: drop debug info via upgrading path if version number does not match.
Add a helper function getDebugInfoVersionFromModule to return the debug info
version number for a module.

"Verifier/module-flags-1.ll" checks for verification errors.
It will seg fault when calling getDebugInfoVersionFromModule because of the
incorrect format for module flags in the testing case. We make
getModuleFlagsMetadata more robust by checking for error conditions.

PR17982


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@196158 91177308-0d34-0410-b5e6-96231b3b80d8
2013-12-02 21:29:56 +00:00
..
CMakeLists.txt build/CMake: Finish removal of add_llvm_library_dependencies. 2011-11-29 19:25:30 +00:00
LLLexer.cpp Make it explicit that nulls are not allowed in names. 2013-11-19 21:12:39 +00:00
LLLexer.h Revert "Give internal classes hidden visibility." 2013-09-11 18:05:11 +00:00
LLParser.cpp Debug Info: drop debug info via upgrading path if version number does not match. 2013-12-02 21:29:56 +00:00
LLParser.h AutoUpgrade: upgrade from scalar TBAA format to struct-path aware TBAA format. 2013-09-28 00:22:27 +00:00
LLToken.h Add addrspacecast instruction. 2013-11-15 01:34:59 +00:00
LLVMBuild.txt LLVMBuild: Remove trailing newline, which irked me. 2011-12-12 19:48:00 +00:00
Makefile make -fno-rtti the default unless a directory builds with REQUIRES_RTTI. 2010-01-24 20:43:08 +00:00
Parser.cpp keep only the StringRef version of getFileOrSTDIN. 2013-06-25 05:28:34 +00:00