llvm-6502/lib/AsmParser
Manman Ren 27457ac42f Merging r196158:
------------------------------------------------------------------------
r196158 | mren | 2013-12-02 13:29:56 -0800 (Mon, 02 Dec 2013) | 12 lines

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/branches/release_34@196822 91177308-0d34-0410-b5e6-96231b3b80d8
2013-12-09 21:06:30 +00:00
..
CMakeLists.txt build/CMake: Finish removal of add_llvm_library_dependencies. 2011-11-29 19:25:30 +00:00
LLLexer.cpp Add addrspacecast instruction. 2013-11-15 01:34:59 +00:00
LLLexer.h Revert "Give internal classes hidden visibility." 2013-09-11 18:05:11 +00:00
LLParser.cpp Merging r196158: 2013-12-09 21:06:30 +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
Parser.cpp keep only the StringRef version of getFileOrSTDIN. 2013-06-25 05:28:34 +00:00