diff options
author | Peter Collingbourne <peter@pcc.me.uk> | 2018-07-17 23:17:16 +0000 |
---|---|---|
committer | Peter Collingbourne <peter@pcc.me.uk> | 2018-07-17 23:17:16 +0000 |
commit | af6ecdb85b3d3233cee3828183372144104f9aca (patch) | |
tree | 500baa2733d0cf8dbf9741e2660705f88dccdc2e /docs/ReleaseNotes.rst | |
parent | ed683dcc4ef0546d1e6c04337222d90bac7b785c (diff) |
Teach Clang to emit address-significance tables.
By default, we emit an address-significance table on all ELF
targets when the integrated assembler is enabled. The emission of an
address-significance table can be controlled with the -faddrsig and
-fno-addrsig flags.
Differential Revision: https://reviews.llvm.org/D48155
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@337333 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs/ReleaseNotes.rst')
-rw-r--r-- | docs/ReleaseNotes.rst | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/docs/ReleaseNotes.rst b/docs/ReleaseNotes.rst index c0ce10d6eb..99be2fdfe0 100644 --- a/docs/ReleaseNotes.rst +++ b/docs/ReleaseNotes.rst @@ -98,6 +98,14 @@ Non-comprehensive list of changes in this release finding out the warning hierarchy, and which of them are enabled by default or for a particular compiler invocation. +- By default, Clang emits an address-significance table into + every ELF object file when using the integrated assembler. + Address-significance tables allow linkers to implement `safe ICF + <https://research.google.com/pubs/archive/36912.pdf>`_ without the false + positives that can result from other implementation techniques such as + relocation scanning. The ``-faddrsig`` and ``-fno-addrsig`` flags can be + used to control whether to emit the address-significance table. + - ... New Compiler Flags |