Re-land r337333, "Teach Clang to emit address-significance tables.",
authorPeter Collingbourne <peter@pcc.me.uk>
Wed, 18 Jul 2018 00:27:07 +0000 (00:27 +0000)
committerPeter Collingbourne <peter@pcc.me.uk>
Wed, 18 Jul 2018 00:27:07 +0000 (00:27 +0000)
commit14b468bab620b1743435eb8560ff250a949430be
tree0aa601e927851b29f2379948bb5116063c3967f3
parentfc50498ced7f85279b901fce302d01e558c74c7d
Re-land r337333, "Teach Clang to emit address-significance tables.",
which was reverted in r337336.

The problem that required a revert was fixed in r337338.

Also added a missing "REQUIRES: x86-registered-target" to one of
the tests.

Original commit message:
> 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

llvm-svn: 337339
clang/docs/ReleaseNotes.rst
clang/docs/UsersManual.rst
clang/include/clang/Driver/Options.td
clang/include/clang/Frontend/CodeGenOptions.def
clang/lib/CodeGen/BackendUtil.cpp
clang/lib/Driver/ToolChains/Clang.cpp
clang/lib/Frontend/CompilerInvocation.cpp
clang/test/CodeGen/addrsig.c [new file with mode: 0644]
clang/test/Driver/addrsig.c [new file with mode: 0644]