summaryrefslogtreecommitdiffstats
path: root/clang/lib/Frontend/InitHeaderSearch.cpp
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2009-12-18 16:59:39 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2009-12-18 16:59:39 +0000
commitb73b4fd30efdf2a19f64f7a69c5f0fac9c781f6d (patch)
treea65ccddb842337e63a255d4ab05dab6178102f13 /clang/lib/Frontend/InitHeaderSearch.cpp
parentf72b6ac87fa59a3aa2d7a8081a6913619a83f957 (diff)
downloadbcm5719-llvm-b73b4fd30efdf2a19f64f7a69c5f0fac9c781f6d.tar.gz
bcm5719-llvm-b73b4fd30efdf2a19f64f7a69c5f0fac9c781f6d.zip
Fix libstdc++ build on ARM linux and part of PR5770.
MI was not being used but it was also not being deleted, so it was kept in the garbage list. The memory itself was freed once the function code gen was done. Once in a while the codegen of another function would create an instruction on the same address. Adding it to the garbage group would work once, but when another pointer was added it would cause an assert as "Cache" was about to be pushed to Ts. For a patch that make us detect problems like this earlier, take a look at http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20091214/092758.html With that patch we assert as soon and the new instruction is added to the garbage set. llvm-svn: 91691
Diffstat (limited to 'clang/lib/Frontend/InitHeaderSearch.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud