This is an archive of the discontinued LLVM Phabricator instance.

[DEBUGINFO] Add option that allows to disable emission of flags in .loc directives.
ClosedPublic

Authored by ABataev on Apr 2 2018, 1:38 PM.

Details

Summary

Some targets do not support extended format of .loc directive and
support only simple format: .loc <FileID> <Line> <Column>. Patch adds
MCAsmInfo flag and option that allows emit .loc directive without
additional flags.

Diff Detail

Repository
rL LLVM

Event Timeline

ABataev created this revision.Apr 2 2018, 1:38 PM
echristo accepted this revision.Apr 2 2018, 1:39 PM

Sure. LGTM for now.

This revision is now accepted and ready to land.Apr 2 2018, 1:39 PM
This revision was automatically updated to reflect the committed changes.