diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2017-05-16 19:46:52 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2017-05-16 19:46:52 +0000 |
commit | 6b3f41ed88e8e440e11a4fbf20b6600529f80049 (patch) | |
tree | 928b056f24a634d628c80238dbbf10d41b1a71d5 /include/llvm/Bitcode/BitcodeReader.h | |
parent | c46e6a5940c50058e00c0c5f9123fd82e338d29a (diff) | |
download | src-test2-e60cb5ab119b9a563b017aa95a500a9455152421.tar.gz src-test2-e60cb5ab119b9a563b017aa95a500a9455152421.zip |
Diffstat (limited to 'include/llvm/Bitcode/BitcodeReader.h')
-rw-r--r-- | include/llvm/Bitcode/BitcodeReader.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/llvm/Bitcode/BitcodeReader.h b/include/llvm/Bitcode/BitcodeReader.h index 54f990d00233..31ffb7645f3a 100644 --- a/include/llvm/Bitcode/BitcodeReader.h +++ b/include/llvm/Bitcode/BitcodeReader.h @@ -152,10 +152,11 @@ namespace llvm { /// Parse the module summary index out of an IR file and return the module /// summary index object if found, or an empty summary if not. If Path refers - /// to an empty file and the -ignore-empty-index-file cl::opt flag is passed + /// to an empty file and IgnoreEmptyThinLTOIndexFile is true, then /// this function will return nullptr. Expected<std::unique_ptr<ModuleSummaryIndex>> - getModuleSummaryIndexForFile(StringRef Path); + getModuleSummaryIndexForFile(StringRef Path, + bool IgnoreEmptyThinLTOIndexFile = false); /// isBitcodeWrapper - Return true if the given bytes are the magic bytes /// for an LLVM IR bitcode wrapper. |