diff options
author | Quentin Colombet <quentin.colombet@gmail.com> | 2019-04-29 16:14:00 +0000 |
---|---|---|
committer | Quentin Colombet <quentin.colombet@gmail.com> | 2019-04-29 16:14:00 +0000 |
commit | ae2cbb34007d20c1a4e0e0bf0c9408b2df238eea (patch) | |
tree | 1342684cb9080acbc9542fb853f11497772fd181 /llvm/lib/Transforms/IPO/BlockExtractor.cpp | |
parent | a25c928302197fe2be937d015c1d09b6d006718a (diff) | |
download | bcm5719-llvm-ae2cbb34007d20c1a4e0e0bf0c9408b2df238eea.tar.gz bcm5719-llvm-ae2cbb34007d20c1a4e0e0bf0c9408b2df238eea.zip |
[BlockExtractor] Change the basic block separator from ',' to ';'
This change aims at making the file format be compatible with the
way LLVM handles command line options.
Differential Revision: https://reviews.llvm.org/D60970
llvm-svn: 359462
Diffstat (limited to 'llvm/lib/Transforms/IPO/BlockExtractor.cpp')
-rw-r--r-- | llvm/lib/Transforms/IPO/BlockExtractor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/IPO/BlockExtractor.cpp b/llvm/lib/Transforms/IPO/BlockExtractor.cpp index 31c09ebe43f..5cf2235bbff 100644 --- a/llvm/lib/Transforms/IPO/BlockExtractor.cpp +++ b/llvm/lib/Transforms/IPO/BlockExtractor.cpp @@ -94,7 +94,7 @@ void BlockExtractor::loadFile() { if (LineSplit.empty()) continue; SmallVector<StringRef, 4> BBNames; - LineSplit[1].split(BBNames, ',', /*MaxSplit=*/-1, + LineSplit[1].split(BBNames, ';', /*MaxSplit=*/-1, /*KeepEmpty=*/false); if (BBNames.empty()) report_fatal_error("Missing bbs name"); |