summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRaphael Isemann <teemperor@gmail.com>2019-07-18 08:22:11 +0000
committerRaphael Isemann <teemperor@gmail.com>2019-07-18 08:22:11 +0000
commitce8df1f41d5dae41fbb7af3aafca0935728b8266 (patch)
tree241cdf6efd9751e4e7802d02cf9b4a7af19d781e
parent63719119c78ca965b5d80e5c20fcfe81ba28f896 (diff)
downloadbcm5719-llvm-ce8df1f41d5dae41fbb7af3aafca0935728b8266.tar.gz
bcm5719-llvm-ce8df1f41d5dae41fbb7af3aafca0935728b8266.zip
[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
-rw-r--r--lldb/utils/TableGen/LLDBOptionDefEmitter.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/lldb/utils/TableGen/LLDBOptionDefEmitter.cpp b/lldb/utils/TableGen/LLDBOptionDefEmitter.cpp
index 00b44c020a2..4e62197d398 100644
--- a/lldb/utils/TableGen/LLDBOptionDefEmitter.cpp
+++ b/lldb/utils/TableGen/LLDBOptionDefEmitter.cpp
@@ -44,7 +44,6 @@ static void emitOption(Record *Option, raw_ostream &OS) {
auto Groups = Option->getValueAsListOfInts("Groups");
for (int Group : Groups)
GroupsArg.push_back("LLDB_OPT_SET_" + std::to_string(Group));
- OS << llvm::join(GroupsArg.begin(), GroupsArg.end(), " | ");
} else if (Option->getValue("GroupStart")) {
// The user specified a range of groups (with potentially only one element).
int GroupStart = Option->getValueAsInt("GroupStart");
OpenPOWER on IntegriCloud