From 84b06c9a3c0045d30342b2b766116bf3906cc35b Mon Sep 17 00:00:00 2001 From: _xeroxz Date: Sat, 13 Mar 2021 10:12:28 +0000 Subject: [PATCH] Update README.md --- README.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 525977e..2720aca 100644 --- a/README.md +++ b/README.md @@ -77,15 +77,17 @@ Dynamic linking is when external symbols are resolved at runtime. This is done b For integration with visual studios please open "Visual Studio Installer" --> Click "Modify" on your visual studios version --> Then select the "Individual Components" tab. Search for "clang" --> Select all options ---> Click "Modify" on the bottom right. -Once you have clang-cl installed for visual studios, navigate to the location in which it is installed. The location is (`%VCINSTALLDIR%\Tools\Llvm\bin\` and `%VCINSTALLDIR%\Tools\Llvm\x64\bin\`). Drag and drop all clang files from clang.zip into these directories. - #### Requirements * No SEH support, do not add `__try/__except` in your code. * No CFG (control flow guard) support. Please disable this in C/C++ ---> Code Generation ---> Control Flow Guard * No Stack Security Check Support. Please disablel this in C/C++ ---> Code Generation ---> Security Check (/GS-) * Your project must be set to produce a .lib file. -* Your project must not link with other static libraries which are not compiled with `clang-cl -mcmodel-large`. +* Your project must not link with other static libraries which are not compiled with `-Xclang -mcmodel-large`. +* Project must be compiled with the following flags + * `-Xclang -mcmodel=large`, removes RIP relative addressing besides JCC's. + * `-Xclang -fno-jump-tables`, removes jump tables created by switch cases. + * `/Zc:threadSafeInit-`, static will not use TLS (thread local storage). ## Lambdas For Explicit Constructor