summaryrefslogtreecommitdiffstats
path: root/lld/lib/ReaderWriter/CoreLinkingContext.cpp
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2014-05-02 23:30:59 +0000
committerChandler Carruth <chandlerc@gmail.com>2014-05-02 23:30:59 +0000
commitb2faa59976018b9510b7633426b10bab659c8218 (patch)
tree11382bf7e25eb3ab901da671b1cca2997eb4b376 /lld/lib/ReaderWriter/CoreLinkingContext.cpp
parent55362851a90b381f03db94e01049ab8b61619f1e (diff)
downloadbcm5719-llvm-b2faa59976018b9510b7633426b10bab659c8218.tar.gz
bcm5719-llvm-b2faa59976018b9510b7633426b10bab659c8218.zip
[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. llvm-svn: 207882
Diffstat (limited to 'lld/lib/ReaderWriter/CoreLinkingContext.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud