The problem is that it checkes circular dependencies and one then adds the
target lock to the graph.
Reported-by: [email protected]
PiperOrigin-RevId: 512637945
This CL does the following:
- Add the ability for nested locks to have names.
- Give names to all current uses of nested locks in the codebase.
- Truncate `lockdep` debug stack traces to avoid the clutter from the
`lockdep` code itself
- Simplify `lockdep` to not longer require `classMap`.
PiperOrigin-RevId: 491486620