mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-02-12 21:28:48 +00:00
Turn off memory leaks in unit test
This commit is contained in:
parent
8d5c1b4562
commit
263fc4c79a
@ -75,6 +75,7 @@ export int aa = 43;
|
||||
std::shared_ptr<CompilerInvocation> Invocation =
|
||||
createInvocation(Args, CIOpts);
|
||||
EXPECT_TRUE(Invocation);
|
||||
Invocation->getFrontendOpts().DisableFree = false;
|
||||
|
||||
auto Buf = CIOpts.VFS->getBufferForFile("a.cppm");
|
||||
EXPECT_TRUE(Buf);
|
||||
@ -113,6 +114,7 @@ export int aa = 43;
|
||||
std::shared_ptr<CompilerInvocation> Invocation =
|
||||
createInvocation(Args, CIOpts);
|
||||
EXPECT_TRUE(Invocation);
|
||||
Invocation->getFrontendOpts().DisableFree = false;
|
||||
|
||||
CompilerInstance Clang;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user