Add support for LLVM 11

One major change is the removal of llvm::CallSite, which I've replaced
by llvm::CallBase*.
This commit is contained in:
Martin Kinkelin 2020-08-23 14:13:13 +02:00
parent 9c42dfd9d0
commit 96b9cde428
33 changed files with 2562 additions and 229 deletions

View file

@ -321,7 +321,7 @@ void ArgsBuilder::addSanitizerLinkFlags(const llvm::Triple &triple,
// When we reach here, we did not find the sanitizer library.
// Fallback, requires Clang.
args.push_back(fallbackFlag);
args.emplace_back(fallbackFlag);
}
// Adds all required link flags for -fsanitize=fuzzer when libFuzzer library is