Displaying 2 results from an estimated 2 matches for "ullvm_enable_abi_breaking_check".
Did you mean:
ullvm_enable_abi_breaking_checks
2016 Nov 16
2
Non-determinism in LLVM codegen
...o 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 for improving/extending the patch and
>> enabling it in li...
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.