summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen
diff options
context:
space:
mode:
authorManman Ren <manman.ren@gmail.com>2013-12-02 21:29:56 +0000
committerManman Ren <manman.ren@gmail.com>2013-12-02 21:29:56 +0000
commit8b4306ce050bd58d8457e16fbbc26dafde7cd181 (patch)
tree963eefcbb7683b2d3e5590bde5e610854d418377 /llvm/lib/CodeGen
parente601b504b62cabdec1bca2f21edccb1722ef877e (diff)
downloadbcm5719-llvm-8b4306ce050bd58d8457e16fbbc26dafde7cd181.tar.gz
bcm5719-llvm-8b4306ce050bd58d8457e16fbbc26dafde7cd181.zip
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 llvm-svn: 196158
Diffstat (limited to 'llvm/lib/CodeGen')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud