Michael Gottesman
636b5f67f0
[runtime] Add support for an asserts only debugging routine called swift_dumpTrackedAccesses().
...
This makes it easy to perform printf debugging in the debugger. I have found it
to be useful in understanding programs around exclusivity quickly.
2018-04-19 21:37:12 -07:00
John McCall
dd99536d31
Move the metadata-pattern header into the type context descriptor.
...
This is yet another waypoint on the path towards the final
generic-metadata design. The immediate goal is to make the
pattern a private implementation detail and to give the runtime
more visibility into the allocation and caching of generic types.
2018-02-26 12:10:24 -05:00
Kuba (Brecka) Mracek
a5a59f5aed
[runtime] Enhance output from dynamic exclusivity violations. Print current stacktrace and the symbolicated frame of the previous conflicting access. ( #9501 )
2017-05-12 20:28:28 -07:00
John McCall
e01c31a17c
Remember a PC in the exclusivity-tracking set and report it during failures.
2017-05-10 14:44:56 -04:00
John McCall
6c16cfaa14
Implement a basic dynamic-enforcement runtime and teach IRGen to use it.
2017-04-18 11:23:43 -04:00