diff options
| author | Chandler Carruth <chandlerc@gmail.com> | 2014-05-02 23:30:59 +0000 |
|---|---|---|
| committer | Chandler Carruth <chandlerc@gmail.com> | 2014-05-02 23:30:59 +0000 |
| commit | d069a45f1ff295f7554297b175753980a7780d0f (patch) | |
| tree | 65a37f0ad1cb72fd0cd0ea1183e511111942a563 /lib/CodeGen/CodeGenFunction.cpp | |
| parent | c0c0ad648202f40b99e826d2c116cc1b307a6d13 (diff) | |
| download | clang-d069a45f1ff295f7554297b175753980a7780d0f.tar.gz clang-d069a45f1ff295f7554297b175753980a7780d0f.tar.bz2 clang-d069a45f1ff295f7554297b175753980a7780d0f.tar.xz | |
[leaks] Parse the schema file every time we try to verify the XML. Yes,
this is wasteful, blah blah, but this is a test utility only. It turns
out that without doing this, libxml2 will always leak a bunch of the XML
data, and that is causing failures with LSan. This is also quite a bit
simpler and I don't think it is slow enough to really be a show stopper.
If someone yells about the runtime of c-index-test, we can do other
things to try to mitigate it, but the current strategy wasn't working
well.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@207882 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions
