diff options
author | Martin Storsjo <martin@martin.st> | 2017-10-23 09:08:24 +0000 |
---|---|---|
committer | Martin Storsjo <martin@martin.st> | 2017-10-23 09:08:24 +0000 |
commit | ddb094ad367d0ab180ccebd27d86c940d7c250f7 (patch) | |
tree | d0c12e654f7b1d9f3bebef2325845258fecee321 /lldb/packages/Python/lldbsuite/test/expression_command/anonymous-struct/main.cpp | |
parent | 843cbbddebf8451a8661334cacc4dd608a1f0683 (diff) | |
download | bcm5719-llvm-ddb094ad367d0ab180ccebd27d86c940d7c250f7.tar.gz bcm5719-llvm-ddb094ad367d0ab180ccebd27d86c940d7c250f7.zip |
[COFF] Fix exporting of functions starting with underscores, etc
This fixes exporting functions in the following cases:
- functions starting with an underscore in def files
- functions starting with an underscore, via dllexport attributes, for mingw
- fastcall and vectorcall functions when declared undecorated in def files
- vectorcall functions when declared decorated in def files
- stdcall functions when declared decorated in def files for mingw
This still exports the stdcall functions with the wrong name
in the normal msvc/link.exe mode, if declared with decoration in
the def file though (this is not a regression though). Exporting
functions via def files including decoration is not something I
believe is routinely done though, but is tested to try to match
link.exe's behaviour as far as easily possible.
Differential Revision: https://reviews.llvm.org/D39170
llvm-svn: 316317
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/expression_command/anonymous-struct/main.cpp')
0 files changed, 0 insertions, 0 deletions