Overview
Comment: | Added MSan/ASan targets |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
7d5fcf4486727cd7045f2d66f3b6c14c |
User & Date: | rkeene on 2020-04-13 19:19:19 |
Other Links: | manifest | tags |
Context
2020-04-13
| ||
19:34 | Even more sanitizers! check-in: 5b3a8701d2 user: rkeene tags: trunk | |
19:19 | Added MSan/ASan targets check-in: 7d5fcf4486 user: rkeene tags: trunk | |
15:50 | Fixed typo in last commit check-in: d17d8bb449 user: rkeene tags: trunk | |
Changes
Modified .fossil-settings/ignore-glob from [a5960fd8bf] to [8638e173ef].
︙ | |||
28 29 30 31 32 33 34 | 28 29 30 31 32 33 34 35 | + | xvfs_random.so xvfs_synthetic.so profile-bare profile-gperf oprofile_data gmon.out callgrind.out tclsh-local |
Modified Makefile from [dafcafb7d8] to [1d5fc94c57].
1 2 3 4 5 6 7 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 | + + - + - + - + - + - + | TCLSH_NATIVE := tclsh TCL_CONFIG_SH_DIR := $(shell echo 'puts [tcl::pkgconfig get libdir,runtime]' | $(TCLSH_NATIVE)) TCL_CONFIG_SH := $(TCL_CONFIG_SH_DIR)/tclConfig.sh XVFS_ROOT_MOUNTPOINT := //xvfs:/ CPPFLAGS := -DXVFS_ROOT_MOUNTPOINT='"$(XVFS_ROOT_MOUNTPOINT)"' -I. -DUSE_TCL_STUBS=1 -DXVFS_DEBUG $(shell . "${TCL_CONFIG_SH}" && echo "$${TCL_INCLUDE_SPEC}") $(XVFS_ADD_CPPFLAGS) CFLAGS := -fPIC -g3 -ggdb3 -Wall $(XVFS_ADD_CFLAGS) LDFLAGS := $(XVFS_ADD_LDFLAGS) LIBS := $(XVFS_ADD_LIBS) TCL_LIB := $(shell . "${TCL_CONFIG_SH}" && echo "$${TCL_LIB_SPEC}") |
︙ | |||
105 106 107 108 109 110 111 112 113 114 115 116 117 118 | 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 | + + + + + + + + + + + + + + | operf ./profile-bare opreport ./profile-gperf gprof ./profile-gperf valgrind --tool=callgrind --callgrind-out-file=callgrind.out ./profile-bare 10 2 callgrind_annotate callgrind.out do-valgrind: Makefile $(MAKE) test XVFS_TEST_EXIT_ON_FAILURE=0 GDB='valgrind --tool=memcheck --track-origins=yes --leak-check=full' tclsh-local: tclsh-local.c $(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -UUSE_TCL_STUBS -o tclsh-local tclsh-local.c $(LIBS) $(TCL_LIB) do-asan: Makefile rm -f tclsh-local $(MAKE) tclsh-local test XVFS_TEST_EXIT_ON_FAILURE=0 CC='clang -fsanitize=address' XVFS_ADD_CFLAGS='-Wno-string-plus-int' TCLSH=./tclsh-local do-msan: Makefile rm -f tclsh-local $(MAKE) tclsh-local test XVFS_TEST_EXIT_ON_FAILURE=0 CC='clang -fsanitize=memory' XVFS_ADD_CFLAGS='-Wno-string-plus-int' TCLSH=./tclsh-local clean: rm -f xvfs-create-standalone.new xvfs-create-standalone rm -f xvfs-create-c.o xvfs-create-c rm -f example.c example.c.new example.c.new.1 example.c.new.2 rm -f example-standalone$(LIB_SUFFIX) example-standalone.o rm -f example-client.o example-client$(LIB_SUFFIX) rm -f example-flexible.o example-flexible$(LIB_SUFFIX) |
︙ | |||
126 127 128 129 130 131 132 133 134 135 | 142 143 144 145 146 147 148 149 150 151 152 153 | + - + | rm -f __test__.tcl rm -f profile-bare profile-gperf rm -f gmon.out rm -f callgrind.out rm -rf oprofile_data rm -f xvfs-test-coverage.info rm -rf xvfs-test-coverage rm -f tclsh-local distclean: clean |
Added tclsh-local.c version [21ed11d6ee].
|