Files
Matt GodboltandClaude a16e8f6d2d Refactor AsmParser: extract and test source/label handling
This refactoring improves maintainability and testability of the complex
AsmParser by extracting key responsibilities into focused, testable modules:

## New Components

- **SourceLineHandler**: Unifies source line parsing (.loc, .d2line, .cv_loc,
  .dbg, .stabn) that was previously scattered across 3 methods
- **LabelProcessor**: Extracts label detection, filtering, and cleanup logic
  from the massive findUsedLabels method
- **ParsingState**: Encapsulates parsing state management (ready for future use)

## Benefits

- **Better testability**: Previously untestable logic now has comprehensive unit tests
- **DRY principle**: Eliminates duplicate source handling code
- **Single responsibility**: Each class has a clear, focused purpose
- **Maintainability**: Complex logic is broken into manageable pieces

## Testing

- Added 20 new unit tests covering the extracted functionality
- All 1,699 existing tests pass (including 670 comprehensive filter tests)
- Zero regressions detected

The refactoring maintains complete backward compatibility while significantly
improving code structure and testability.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-06-07 16:11:13 -05:00
..
2023-11-27 10:33:03 -05:00
2021-10-05 01:45:05 +02:00
2019-08-21 01:26:16 +02:00
2025-01-29 10:41:03 -06:00
2021-09-13 20:22:27 +02:00
2024-10-27 15:28:38 +02:00
2024-10-26 17:42:22 +02:00
2024-03-08 22:25:09 -06:00
2024-03-08 22:25:09 -06:00
2024-03-08 22:25:09 -06:00
2025-02-25 13:39:26 -06:00
2024-03-08 22:25:09 -06:00
2023-07-10 21:31:04 -05:00
2024-03-08 22:25:09 -06:00
2024-03-08 22:25:09 -06:00
2024-03-08 22:25:09 -06:00
2025-02-19 10:41:42 -06:00
2024-03-08 22:25:09 -06:00
2024-03-08 22:25:09 -06:00
2024-03-08 22:25:09 -06:00