Page MenuHomePhabricator

[nfc] [osx] [lldb] Simplify code using GetDebugMapSymfile()
Needs ReviewPublic

Authored by jankratochvil on Jul 30 2021, 4:57 AM.

Details

Summary

In D100299 I was not sure what can happen if dwarf_cu.GetOffset() != 0 && GetDebugMapSymfile() as there is:

if (dwarf_cu.GetOffset() == 0 && GetDebugMapSymfile()) {

@clayborg added in 2006-03-30 the part dwarf_cu.GetOffset() == 0 && at this line.
Is this patch simplification OK?

Diff Detail

Event Timeline

jankratochvil created this revision.Jul 30 2021, 4:57 AM
jankratochvil requested review of this revision.Jul 30 2021, 4:57 AM