diff options
author | Alexander Kyte <alexmkyte@gmail.com> | 2017-11-15 17:55:21 +0300 |
---|---|---|
committer | Ludovic Henry <luhenry@microsoft.com> | 2017-11-15 17:55:21 +0300 |
commit | 50fa04c1365f68f309c6d0613c96672deb0d07fc (patch) | |
tree | 2f9e759825425ae59a79741eacb073aee836d48a /man | |
parent | 115b29014394c9548e743f8580c3d96466dc1cf8 (diff) |
[runtime] Implement runtime support for inflated wrapper and generic dedup (#5349)
* [runtime] Support excluding or choosing to emit only inflated methods
* [runtime] Only write cache if changed, so can be used by Makefiles
* [runtime] Thread state through multiple mono_compile_assembly calls
* [runtime] Emit skipped methods in dedup module
* [runtime] Use AOT attribute to mark dummy dedup module
* [runtime] Expose and use can_dedup for AOT compiler+runtime
* [runtime] Add missing cases to the mangler
* [runtime] Fix direct calls with dedup
* [runtime] Implement runtime support for finding deduped code
* [runtime] Refactor dedup state setup into new function
* [runtime] Add in dedup debugging aid / external visibility
Gives a demo on how to make mangled method names externally visible
* [runtime] Log dedup statistics
Diffstat (limited to 'man')
-rw-r--r-- | man/mono.1 | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/man/mono.1 b/man/mono.1 index 4b35827921c..3a51db9692f 100644 --- a/man/mono.1 +++ b/man/mono.1 @@ -177,6 +177,17 @@ options. This feature is experimental. .TP .I llvm-outfile=[filename] Gives the path for the temporary LLVM bitcode file created during AOT. +.I dedup +Each AOT module will typically contain the code for inflated methods and wrappers that +are called by code in that module. In dedup mode, we identify and skip compiling all of those +methods. When using this mode with fullaot, dedup-include is required or these methods will +remain missing. +.TP +.I dedup-include=[filename] +In dedup-include mode, we are in the pass of compilation where we compile the methods +that we had previously skipped. All of them are emitted into the assembly that is passed +as this option. We consolidate the many duplicate skipped copies of the same method into one. +.TP .TP .I info Print the architecture the AOT in this copy of Mono targets and quit. |