2018-03-29 Clang fsanitize Notes -fsanitize=xxx should be added to the command line for both compiling and linking clang can be used to compile cpp files. However, clang++ must be used to link for cpp programs. 12clang -fsanitize=undefined -c -o test.o test.cppclang++ -fsanitize=undefined -o test test.o ReferenceClang 7 documentation - UndefinedBehaviorSanitizer Newer Increase Open File Limit Older VMware open-vm-tools