Comments (5)
Part of this is that we should have a version of the build that runs clang's asan, msan, etc., which we're not doing now.
from nativejit.
For clang asan, msan, etc., this link looks helpful.
from nativejit.
The following options work (independently) to enable clang's sanitizers:
add_compile_options("-fsanitize=memory")
add_compile_options("-lubsan -fsanitize=undefined")
add_compile_options("-lasan -fsanitize=address")
add_compile_options("-ltsan -fsanitize=thread")
I'll add these at some point, but before I make that change I want to change how we add flags and define targets so that we can have a reasonable set of targets to build against. Our current setup is predicated re-running CMake to change options, which is pretty messy and also annoying enough that people probably won't run all of these things before checking in.
from nativejit.
Those options work for NativeJIT
, but the linker stuff fails with BitFunnel
. Apparently, we're doing something different for the two projects?
When trying to build with thread sanitizer, BitFunnel
fails with
clang: error: -ltsan -fsanitize=thread: 'linker' input unused
We can't just remove ltsan
since thread sanitizer won't get linked correctly and will fail at the link stage.
from nativejit.
We should enforce some kind of style with ClangFormat
. @MikeHopcroft , let's discuss the particulars of what will be enforced when I'm back in town.
from nativejit.
Related Issues (20)
- Adding NativeJIT to Benchmark Suite HOT 1
- make install installs Google test libs but not NativeJIT HOT 1
- Compilation error: dereferencing type-punned pointer HOT 6
- Parser crash on "+"
- Parser crash on ".Ð.Ð" HOT 1
- Parser crash on "3*-" HOT 1
- Non-deterministic behavior from Parser HOT 2
- Magic buffer sizes HOT 2
- Cleanup gtest incorporation HOT 1
- Large number of clang warnings HOT 2
- Parser not working as expected HOT 1
- Division Node is missing HOT 6
- x86 support HOT 1
- JumpTable::PatchCallSites has dead code that seems intended to do something?
- Is this project dead? HOT 3
- Windows 7 Installation Issues HOT 2
- popcnt issue on CentOS 7.2 HOT 3
- Potential issues with the C++17 version
- Support for double precision math functions
- Project seems to be abandoned. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nativejit.