This is an archive of the discontinued LLVM Phabricator instance.

[DebugInfo] Fix debug information label tests.
ClosedPublic

Authored by mstojanovic on Oct 4 2018, 12:16 PM.

Details

Summary

Removed the space in the asm check so that the expression is more general and can also capture MIPS labels which can be surrounded by braces, e.g.:

.4byte        ($tmp1)                 # DW_AT_low_pc

Also changed optimization level to O0 because the DW_TAG_label don't appear on MIPS when -O2 is used.

Diff Detail

Event Timeline

mstojanovic created this revision.Oct 4 2018, 12:16 PM
aprantl accepted this revision.Oct 4 2018, 12:21 PM
This revision is now accepted and ready to land.Oct 4 2018, 12:21 PM
HsiangKai accepted this revision.Oct 4 2018, 6:55 PM
This revision was automatically updated to reflect the committed changes.