Commit 554954a
EASY: Remove dependency on -g3 for emitting line directives
Summary:
Change emitLineDirectives to depend only on the explicit
-Xline-directives flag, removing the condition that checked for
DebugInfoLevel >= g3. Since g3 is deprecated and maps to g2, the
condition DebugInfoLevel >= g3 can never be true, making that part of
the check dead code. This change makes the code accurately reflect the
actual behavior: line directives are only emitted when explicitly
requested via -Xline-directives.
Reviewed By: avp
Differential Revision: D87034836
fbshipit-source-id: 5197223d35114ee19afaf2f4d3f111795a822cce
Co-authored-by: Claude (Anthropic AI Assistant) for AI-driven1 parent 273f190 commit 554954a
1 file changed
+2
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
689 | 689 | | |
690 | 690 | | |
691 | 691 | | |
692 | | - | |
693 | 692 | | |
694 | 693 | | |
695 | 694 | | |
| |||
1015 | 1014 | | |
1016 | 1015 | | |
1017 | 1016 | | |
1018 | | - | |
1019 | | - | |
1020 | | - | |
1021 | | - | |
| 1017 | + | |
| 1018 | + | |
1022 | 1019 | | |
1023 | 1020 | | |
1024 | 1021 | | |
| |||
0 commit comments