diff options
Diffstat (limited to 'compiler/NOTES')
-rw-r--r-- | compiler/NOTES | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/compiler/NOTES b/compiler/NOTES deleted file mode 100644 index 14a1f80b41..0000000000 --- a/compiler/NOTES +++ /dev/null @@ -1,16 +0,0 @@ -Note [Subsections Via Symbols] - -If we are using the .subsections_via_symbols directive -(available on recent versions of Darwin), -we have to make sure that there is some kind of reference -from the entry code to a label on the _top_ of of the info table, -so that the linker will not think it is unreferenced and dead-strip -it. That's why the label is called a DeadStripPreventer (_dsp). - -The LLVM code gen already creates `iTableSuf` symbols, where -the X86 would generate the DeadStripPreventer (_dsp) symbol. -Therefore all that is left for llvm code gen, is to ensure -that all the `iTableSuf` symbols are marked as used. -As of this writing the documentation regarding the -.subsections_via_symbols and -dead_stip can be found at -<https://developer.apple.com/library/mac/documentation/DeveloperTools/Reference/Assembler/040-Assembler_Directives/asm_directives.html#//apple_ref/doc/uid/TP30000823-TPXREF101>
\ No newline at end of file |