You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+4-2Lines changed: 4 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -31,7 +31,7 @@ For other sources of documentation, see the [SUPPORT](SUPPORT.md) document.
31
31
Compiling
32
32
---------
33
33
34
-
We use CMake to configure and drive our build process. Three libraries are built: libtfpsacrypto, libmbedx509, and libmbedtls. Note that libmbedtls depends on libmbedx509 and libtfpsacrypto, and libmbedx509 depends on libtfpsacrypto. As a result, some linkers will expect flags to be in a specific order, for example the GNU linker wants `-lmbedtls -lmbedx509 -ltfpsacrypto`.
34
+
We use CMake to configure and drive our build process. Three libraries are built: `libtfpsacrypto`, `libmbedx509`, and `libmbedtls`. Note that `libmbedtls` depends on `libmbedx509` and `libtfpsacrypto`, and `libmbedx509` depends on `libtfpsacrypto`. As a result, some linkers will expect flags to be in a specific order, for example the GNU linker wants `-lmbedtls -lmbedx509 -ltfpsacrypto`. The cryptographic library `libtfpsacrypto` is also provided under its legacy name, `libmbedcrypto`.
35
35
36
36
### Tool versions
37
37
@@ -106,9 +106,11 @@ There are many different build types available with CMake. Most of them are avai
106
106
- `Coverage`. This generates code coverage information in addition to debug information.
107
107
- `ASan`. This instruments the code with AddressSanitizer to check for memory errors. (This includes LeakSanitizer, with recent version of gcc and clang.) (With recent version of clang, this mode also instruments the code with UndefinedSanitizer to check for undefined behaviour.)
108
108
- `ASanDbg`. Same as ASan but slower, with debug information and better stack traces.
109
-
- `MemSan`. This instruments the code with MemorySanitizer to check for uninitialised memory reads. Experimental, needs recent clang on Linux/x86\_64.
109
+
- `MemSan`. This instruments the code with MemorySanitizer to check for uninitialised memory reads.
110
110
- `MemSanDbg`. Same as MemSan but slower, with debug information, better stack traces and origin tracking.
111
111
- `Check`. This activates the compiler warnings that depend on optimization and treats all warnings as errors.
112
+
- `TSan`. This instruments the code with ThreadSanitizer to detect data races and other threading-related concurrency issues at runtime.
113
+
- `TSanDbg`. Same as TSan but slower, with debug information, better stack traces and origin tracking.
112
114
113
115
Switching build types in CMake is simple. For debug mode, enter at the command line:
0 commit comments