2014-06-04 14:34:58 +00:00
|
|
|
*.a
|
2014-07-30 15:59:14 +00:00
|
|
|
*.so
|
|
|
|
*.so.?*
|
2015-03-30 11:37:22 +00:00
|
|
|
*.dll
|
2015-03-27 13:14:10 +00:00
|
|
|
*.exe
|
2014-07-30 15:59:14 +00:00
|
|
|
*.dylib
|
2014-06-04 14:34:58 +00:00
|
|
|
*.cmake
|
2014-08-01 14:00:43 +00: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-23 22:10:47 +00:00
|
|
|
!/test/AssemblyTests.cmake
|
2014-07-23 16:18:23 +00:00
|
|
|
*~
|
2019-08-21 20:53:15 +00:00
|
|
|
*.swp
|
2015-03-30 10:55:24 +00:00
|
|
|
*.pyc
|
|
|
|
__pycache__
|
2022-07-20 01:51:00 +00:00
|
|
|
.DS_Store
|
2015-02-19 06:15:05 +00:00
|
|
|
|
2015-04-30 13:28:04 +00:00
|
|
|
# lcov
|
|
|
|
*.lcov
|
|
|
|
/lcov
|
|
|
|
|
2015-02-19 06:15:05 +00:00
|
|
|
# cmake files.
|
2014-07-30 18:06:57 +00:00
|
|
|
/Testing
|
2013-12-19 00:55:45 +00:00
|
|
|
CMakeCache.txt
|
|
|
|
CMakeFiles/
|
2015-02-19 06:15:05 +00:00
|
|
|
cmake_install.cmake
|
|
|
|
|
|
|
|
# makefiles.
|
2013-12-19 00:55:45 +00:00
|
|
|
Makefile
|
2015-02-19 06:15:05 +00:00
|
|
|
|
|
|
|
# in-source build.
|
2013-12-19 00:55:45 +00:00
|
|
|
bin/
|
|
|
|
lib/
|
2015-04-30 13:31:50 +00:00
|
|
|
/test/*_test
|
2015-02-19 06:15:05 +00:00
|
|
|
|
|
|
|
# exuberant ctags.
|
2014-01-08 01:02:54 +00:00
|
|
|
tags
|
2015-02-19 06:15:05 +00:00
|
|
|
|
|
|
|
# YouCompleteMe configuration.
|
2014-01-16 00:11:09 +00:00
|
|
|
.ycm_extra_conf.pyc
|
2014-07-24 02:32:37 +00:00
|
|
|
|
2015-02-19 06:15:05 +00:00
|
|
|
# ninja generated files.
|
2014-07-24 02:32:37 +00:00
|
|
|
.ninja_deps
|
|
|
|
.ninja_log
|
|
|
|
build.ninja
|
|
|
|
install_manifest.txt
|
|
|
|
rules.ninja
|
2015-02-19 06:15:05 +00:00
|
|
|
|
2018-03-08 12:48:46 +00:00
|
|
|
# bazel output symlinks.
|
|
|
|
bazel-*
|
|
|
|
|
2015-02-19 06:15:05 +00:00
|
|
|
# out-of-source build top-level folders.
|
|
|
|
build/
|
|
|
|
_build/
|
2018-06-27 14:45:30 +00:00
|
|
|
build*/
|
2017-12-13 23:26:47 +00:00
|
|
|
|
2018-02-04 05:04:36 +00:00
|
|
|
# in-source dependencies
|
2017-12-13 23:26:47 +00:00
|
|
|
/googletest/
|
|
|
|
|
2018-02-04 05:04:36 +00:00
|
|
|
# Visual Studio 2015/2017 cache/options directory
|
|
|
|
.vs/
|
|
|
|
CMakeSettings.json
|
2019-03-26 09:53:07 +00:00
|
|
|
|
|
|
|
# Visual Studio Code cache/options directory
|
|
|
|
.vscode/
|
2020-06-08 14:20:36 +00:00
|
|
|
|
|
|
|
# Python build stuff
|
|
|
|
dist/
|
|
|
|
*.egg-info*
|