Commit Graph

4 Commits

Author SHA1 Message Date
michael nicolella
2fe7eda1f0 autortfm:
- remove explicit operator new/delete instrumentation. these operators can be instrumented directly by the application by overriding them, otherwise calling one from transactional code will abort when trying to find the instrumented version
- add auto rtfm instrumentation to the FMemory allocator
- remove 'will_deallocate' since it does nothing and required the runtime to be able to get the alloced size which isn't easy to do from the runtime
- Transact now executes the work item when it's compiled away, assuming that we will wrap this around existing code that we still want to execute when non-instrumented

#preflight 641cc32b973e60967084811d

[CL 24773875 by michael nicolella in ue5-main branch]
2023-03-23 23:28:18 -04:00
jason weiler
7a7d71868f First go at the AutoRTFM Open API for the VM. This is definitely crunchy.
Adds StartTransaction, RecordOpenWrite, WriteMemory, and some others.
Replaces Abort with AbortTransaction

#preflight 641b559da6092dfb8dc39cf3

[CL 24756491 by jason weiler in ue5-main branch]
2023-03-22 19:46:30 -04:00
brandon schaefer
3e8cf406a6 Add a header to ensure we include our MinWindows and Windows type headers *before* catch_amalgamated.hpp includes its Windows.h stuff
Fix GraphBenchmark shadow warnings

#rb Neil.Henning, Jason.Weiler
#preflight none

[CL 24723829 by brandon schaefer in ue5-main branch]
2023-03-20 17:13:55 -04:00
brandon schaefer
3b859ae861 Setup initial UE/UBT standalone program AutoRTFMTests
#rb Neil.Henning
#preflight none

[CL 24701555 by brandon schaefer in ue5-main branch]
2023-03-17 23:06:47 -04:00