summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test
diff options
context:
space:
mode:
authorReid Kleckner <rnk@google.com>2018-11-27 01:50:17 +0000
committerReid Kleckner <rnk@google.com>2018-11-27 01:50:17 +0000
commita37d672da9978af59d1279cdec794f39f0d26d71 (patch)
treecc2543459174d07fd8f08ca9eb4b5c75b37032ea /lldb/packages/Python/lldbsuite/test
parent265cd31fbffb8c9812c3d3e3a95167155724bc92 (diff)
downloadbcm5719-llvm-a37d672da9978af59d1279cdec794f39f0d26d71.tar.gz
bcm5719-llvm-a37d672da9978af59d1279cdec794f39f0d26d71.zip
[COFF] Add exported functions to gfids table for /guard:cf
Summary: MSVC does this, and we should to. The .gfids table is a table of RVAs, so it's impossible for a DLL to indicate that an imported symbol is address taken. Therefore, exports appear to be listed as address taken by the DLL that exports them. This fixes an issue that Firefox ran into here: https://bugzilla.mozilla.org/show_bug.cgi?id=1485016#c12 In Firefox, the export directive came from a .def file, but we need to do this for any kind of export. Reviewers: dmajor, hans, amccarth, alex Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D54723 llvm-svn: 347623
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud