diff options
author | Douglas Gregor <dgregor@apple.com> | 2010-03-19 06:12:06 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2010-03-19 06:12:06 +0000 |
commit | 51c2351d30ac2f2126ed0ea2d7b70bc27d7bf140 (patch) | |
tree | 57678c866b529ecf1668641f1dfcab5968f157ef /llvm/lib/MC | |
parent | 90a7859ebcb5f1a1dc81223f1561cce4de9c47da (diff) | |
download | bcm5719-llvm-51c2351d30ac2f2126ed0ea2d7b70bc27d7bf140.tar.gz bcm5719-llvm-51c2351d30ac2f2126ed0ea2d7b70bc27d7bf140.zip |
Fix a longstanding (but previously unknown) bug in the lazy
deserialization of precompiled headers, where the deserialization of
the source location entry for a buffer (e.g., macro instantiation
scratch space) would overwrite a one-element FileID cache in the
source manager. When tickled at the wrong time, we would return the
wrong decomposed source location and eventually cause c-index-test to
crash.
Found by dumb luck. It's amazing this hasn't shown up before.
llvm-svn: 98940
Diffstat (limited to 'llvm/lib/MC')
0 files changed, 0 insertions, 0 deletions