diff options
author | Martin Storsjo <martin@martin.st> | 2018-10-10 09:03:58 +0000 |
---|---|---|
committer | Martin Storsjo <martin@martin.st> | 2018-10-10 09:03:58 +0000 |
commit | f0c286f8fb68e1f9938de601c2a63005f355357e (patch) | |
tree | 228a932f479e5662e64d9483e5d9914f7df891b5 /clang/lib/Frontend/CreateInvocationFromCommandLine.cpp | |
parent | 3cd67c9e3b78aa318bb04e8677d812a610f94a62 (diff) | |
download | bcm5719-llvm-f0c286f8fb68e1f9938de601c2a63005f355357e.tar.gz bcm5719-llvm-f0c286f8fb68e1f9938de601c2a63005f355357e.zip |
[sanitizers] [windows] Use a linker directive pragma for psapi
This allows users of static libraries (such as ubsan) to link without
knowing about this transitive dependency, if using the psapi functions
that require linking to a separate psapi library. Since Windows 7,
these functions (EnumProcessModules, GetModuleInformation,
GetProcessMemoryInfo) are remapped to K32- prefixed ones, available in
kernel32.dll.
Differential Revision: https://reviews.llvm.org/D53012
llvm-svn: 344126
Diffstat (limited to 'clang/lib/Frontend/CreateInvocationFromCommandLine.cpp')
0 files changed, 0 insertions, 0 deletions