1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 02:52:53 +02:00

try and appease gcc

llvm-svn: 314442
This commit is contained in:
Adrian Prantl 2017-09-28 18:27:00 +00:00
parent 9a78f28e7e
commit 9d2ec27ba8

View File

@ -246,7 +246,7 @@ static bool dumpObjectFile(ObjectFile &Obj, DWARFContext &DICtx, Twine Filename,
// 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)