Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- List of all msvc linker arguments allowed as `#pragma comment(linker, "/arg")`.
- It's mostly subset of all linker arguments (allowed in command-line switches).
- Source: hostx64\x64\link.exe 14.44.35207 (vs2022).
- Args processing performed in `ProcessLinkerSwitches`, and arg3 is `DirectiveIsFromObjectFile` (i.e. from pragma).
- align
- alternatename
- arm64xcrossdebug
- arm64xfastforward
- arm64xsameaddress
- arm64xfunctionpadminx64
- assemblymodule
- base
- clrloaderoptimization
- clrnetcore
- clrthreadattribute
- coffsecttopdbstrm
- defaultlib
- didatownsection
- disallowlib
- dll
- dll:system
- editandcontinue
- encpadsize
- entry
- export
- failifmismatch // odd: only allowed as pragma
- guardsym
- heap
- hotpatchcompatible
- hybriddefupgrade
- icfsection
- importcalloptimization
- include
- includecoffsection
- incremental
- inferasanlibs
- manifestdependency
- merge
- nocomentry
- nodefaultlib
- nod
- nofunctionpadsection
- noilinkcoffgrppad
- out
- re
- section
- stack
- subsystem
- subsystemversion
- throwingnew // odd: only allowed as pragma, but ignored? See /Zc:throwingNew instead
- version
- wholearchive
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement