search for: dllvm_enable_abi_breaking_checks

Displaying 2 results from an estimated 2 matches for "dllvm_enable_abi_breaking_checks".

2016 Nov 16
2
Non-determinism in LLVM codegen
...a buildbot running with that mode). I suspect we don't want to do this based on NDEBUG anyway to avoid ODR problems from external client code. It would be possible to base this on LLVM_ENABLE_ABI_BREAKING_CHECKS instead of NDEBUG (there's a CMake option to control this). - Asserts builds -DLLVM_ENABLE_ABI_BREAKING_CHECKS by default. - No-asserts builds -ULLVM_ENABLE_ABI_BREAKING_CHECKS by default. - Clients that mix-and-match Asserts/No-asserts can pick one or the other. > > -Hal > >> >> Please feel free to review my patch for reverse iteration. I would >> welcome comments/suggestions...
2016 Nov 15
9
Non-determinism in LLVM codegen
Everyone, There is non-determinism in LLVM codegen in the following scenarios: 1. Between back-to-back runs of the same LLVM toolchain 2. Between Release vs Release+Asserts toolchains 3. Between Linux vs Windows toolchains The main reasons for the non-determinism in codegen are: 1. Iteration of unordered containers (like SmallPtrSet, DenseMap, etc) where the iteration order is undefined 2.