[llvm] r314442 - try and appease gcc
Adrian Prantl via llvm-commits
llvm-commits at lists.llvm.org
Thu Sep 28 11:27:00 PDT 2017
Author: adrian
Date: Thu Sep 28 11:27:00 2017
New Revision: 314442
URL: http://llvm.org/viewvc/llvm-project?rev=314442&view=rev
Log:
try and appease gcc
Modified:
llvm/trunk/tools/llvm-dwarfdump/llvm-dwarfdump.cpp
Modified: llvm/trunk/tools/llvm-dwarfdump/llvm-dwarfdump.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/llvm-dwarfdump/llvm-dwarfdump.cpp?rev=314442&r1=314441&r2=314442&view=diff
==============================================================================
--- llvm/trunk/tools/llvm-dwarfdump/llvm-dwarfdump.cpp (original)
+++ llvm/trunk/tools/llvm-dwarfdump/llvm-dwarfdump.cpp Thu Sep 28 11:27:00 2017
@@ -246,7 +246,7 @@ static bool dumpObjectFile(ObjectFile &O
// Handle the --find option and lower it to --debug-info=<offset>.
if (!Find.empty()) {
- DumpOffsets[DIDT_ID_DebugInfo] = [&]() -> Optional<uint64_t> {
+ DumpOffsets[DIDT_ID_DebugInfo] = [&]() -> llvm::Optional<uint64_t> {
for (auto Name : Find)
for (auto Entry : DICtx.getAppleNames().equal_range(Name))
for (auto Atom : Entry)
More information about the llvm-commits
mailing list