Skip to content

Commit ce8df1f

Browse files
committedJul 18, 2019
[lldb] Don't double emit option groups
We currently emit the option groups twice if Groups<[1,2,3]> is used in the tablegen. This leads to compilation errors. This patch just removes the line that accidentially emits the option group a second time. llvm-svn: 366414
1 parent 6371911 commit ce8df1f

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed
 

‎lldb/utils/TableGen/LLDBOptionDefEmitter.cpp

-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ static void emitOption(Record *Option, raw_ostream &OS) {
4444
auto Groups = Option->getValueAsListOfInts("Groups");
4545
for (int Group : Groups)
4646
GroupsArg.push_back("LLDB_OPT_SET_" + std::to_string(Group));
47-
OS << llvm::join(GroupsArg.begin(), GroupsArg.end(), " | ");
4847
} else if (Option->getValue("GroupStart")) {
4948
// The user specified a range of groups (with potentially only one element).
5049
int GroupStart = Option->getValueAsInt("GroupStart");

0 commit comments

Comments
 (0)
Please sign in to comment.