aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-02-12 19:31:35 +0000
committerChris Lattner <sabre@nondot.org>2010-02-12 19:31:35 +0000
commit5647d3192c1139787dca5a9dcac23054fcffc189 (patch)
treeafa3de8ec719bcdb5306e9ad9a2531ed1cad9e69 /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
parentdc68f9539c38973cdeff0747205f6d22dbe6abc7 (diff)
downloadllvm-5647d3192c1139787dca5a9dcac23054fcffc189.zip
llvm-5647d3192c1139787dca5a9dcac23054fcffc189.tar.gz
llvm-5647d3192c1139787dca5a9dcac23054fcffc189.tar.bz2
fix a bug in SourceManager::getInstantiationLocSlowCase, where
we'd add an offset from the spelling location space to the instantiation location, which doesn't make sense and would lead up to the text diagnostics crashing when presented with non-sensical locations. This fixes rdar://7597492, a crash on 255.vortex. llvm-svn: 96004
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions