2014-06-04 22:34:58 +08:00
|
|
|
*.a
|
2014-07-30 23:59:14 +08:00
|
|
|
*.so
|
|
|
|
*.so.?*
|
2015-03-30 19:37:22 +08:00
|
|
|
*.dll
|
2015-03-27 21:14:10 +08:00
|
|
|
*.exe
|
2014-07-30 23:59:14 +08:00
|
|
|
*.dylib
|
2014-06-04 22:34:58 +08:00
|
|
|
*.cmake
|
2014-08-01 22:00:43 +08:00
|
|
|
!/cmake/*.cmake
|
Add tests to verify assembler output -- Fix DoNotOptimize. (#530)
* Add tests to verify assembler output -- Fix DoNotOptimize.
For things like `DoNotOptimize`, `ClobberMemory`, and even `KeepRunning()`,
it is important exactly what assembly they generate. However, we currently
have no way to test this. Instead it must be manually validated every
time a change occurs -- including a change in compiler version.
This patch attempts to introduce a way to test the assembled output automatically.
It's mirrors how LLVM verifies compiler output, and it uses LLVM FileCheck to run
the tests in a similar way.
The tests function by generating the assembly for a test in CMake, and then
using FileCheck to verify the // CHECK lines in the source file are found
in the generated assembly.
Currently, the tests only run on 64-bit x86 systems under GCC and Clang,
and when FileCheck is found on the system.
Additionally, this patch tries to improve the code gen from DoNotOptimize.
This should probably be a separate change, but I needed something to test.
* Disable assembly tests on Bazel for now
* Link FIXME to github issue
* Fix Tests on OS X
* fix strip_asm.py to work on both Linux and OS X like targets
2018-03-24 06:10:47 +08:00
|
|
|
!/test/AssemblyTests.cmake
|
2014-07-24 00:18:23 +08:00
|
|
|
*~
|
2015-03-30 18:55:24 +08:00
|
|
|
*.pyc
|
|
|
|
__pycache__
|
2015-02-19 14:15:05 +08:00
|
|
|
|
2015-04-30 21:28:04 +08:00
|
|
|
# lcov
|
|
|
|
*.lcov
|
|
|
|
/lcov
|
|
|
|
|
2015-02-19 14:15:05 +08:00
|
|
|
# cmake files.
|
2014-07-31 02:06:57 +08:00
|
|
|
/Testing
|
2013-12-19 08:55:45 +08:00
|
|
|
CMakeCache.txt
|
|
|
|
CMakeFiles/
|
2015-02-19 14:15:05 +08:00
|
|
|
cmake_install.cmake
|
|
|
|
|
|
|
|
# makefiles.
|
2013-12-19 08:55:45 +08:00
|
|
|
Makefile
|
2015-02-19 14:15:05 +08:00
|
|
|
|
|
|
|
# in-source build.
|
2013-12-19 08:55:45 +08:00
|
|
|
bin/
|
|
|
|
lib/
|
2015-04-30 21:31:50 +08:00
|
|
|
/test/*_test
|
2015-02-19 14:15:05 +08:00
|
|
|
|
|
|
|
# exuberant ctags.
|
2014-01-08 09:02:54 +08:00
|
|
|
tags
|
2015-02-19 14:15:05 +08:00
|
|
|
|
|
|
|
# YouCompleteMe configuration.
|
2014-01-16 08:11:09 +08:00
|
|
|
.ycm_extra_conf.pyc
|
2014-07-24 10:32:37 +08:00
|
|
|
|
2015-02-19 14:15:05 +08:00
|
|
|
# ninja generated files.
|
2014-07-24 10:32:37 +08:00
|
|
|
.ninja_deps
|
|
|
|
.ninja_log
|
|
|
|
build.ninja
|
|
|
|
install_manifest.txt
|
|
|
|
rules.ninja
|
2015-02-19 14:15:05 +08:00
|
|
|
|
2018-03-08 20:48:46 +08:00
|
|
|
# bazel output symlinks.
|
|
|
|
bazel-*
|
|
|
|
|
2015-02-19 14:15:05 +08:00
|
|
|
# out-of-source build top-level folders.
|
|
|
|
build/
|
|
|
|
_build/
|
2017-12-14 07:26:47 +08:00
|
|
|
|
2018-02-04 13:04:36 +08:00
|
|
|
# in-source dependencies
|
2017-12-14 07:26:47 +08:00
|
|
|
/googletest/
|
|
|
|
|
2018-02-04 13:04:36 +08:00
|
|
|
# Visual Studio 2015/2017 cache/options directory
|
|
|
|
.vs/
|
|
|
|
CMakeSettings.json
|