This patch updates MachOLinkGraphBuilder to honor the MH_SUBSECTIONS_VIA_SYMBOLS flag. Prior to this patch we assumed MH_SUBSECTIONS_VIA_SYMBOLS, but never checked the flag. If MH_SUBSECTIONS_VIA_SYMBOLS is set (the default for MachO output on modern compilers) then MachOLinkGraphBuilder will break MachO section content into jitlink::Blocks on symbol boundaries. (This is how JITLink has always handled MachO sections previously). If MH_SUBSECTIONS_VIA_SYMBOLS is not set then MachOLinkGraphBuilder will create a single jitlink::Block for each MachO section. Existing hand-written testcases that were _not_ using the .subsections_via_symbols directive are updated to use it. A new testcase for non-subsections-via-symbols behavior is included. |
||
|---|---|---|
| .. | ||
| Interpreter | ||
| JITLink | ||
| MCJIT | ||
| Orc | ||
| OrcLazy | ||
| RuntimeDyld | ||
| 2010-01-15-UndefValue.ll | ||
| fma3-jit.ll | ||
| frem.ll | ||
| lit.local.cfg | ||
| mov64zext32.ll | ||
| test-interp-vec-arithm_float.ll | ||
| test-interp-vec-arithm_int.ll | ||
| test-interp-vec-cast.ll | ||
| test-interp-vec-insertelement.ll | ||
| test-interp-vec-insertextractvalue.ll | ||
| test-interp-vec-loadstore.ll | ||
| test-interp-vec-logical.ll | ||
| test-interp-vec-select.ll | ||
| test-interp-vec-setcond-fp.ll | ||
| test-interp-vec-setcond-int.ll | ||
| test-interp-vec-shift.ll | ||
| test-interp-vec-shuffle.ll | ||