Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
The logic is not 100% equivalent here. I don't know how much this matters, but if the DuplicateFile call succeeds but the OpenFile call fails, then the original logic would not call __sanitizer_set_report_fd. In the new logic, it will. I don't know how likely this is to happen, so maybe the decoupling here is worth it until we have an issue with this edge case in practice.