diff options
| author | Dan Gohman <dan433584@gmail.com> | 2017-01-07 01:50:01 +0000 |
|---|---|---|
| committer | Dan Gohman <dan433584@gmail.com> | 2017-01-07 01:50:01 +0000 |
| commit | 0e2ceb81219af11664b84ad1d77afeabf5ab11af (patch) | |
| tree | 8cbdc3ec69fb02f76dc627ef9486a8497f475c13 /llvm/lib/Support/MathExtras.cpp | |
| parent | d5eda35557b3c9e395fa643c8843d9acda11eb60 (diff) | |
| download | llvm-0e2ceb81219af11664b84ad1d77afeabf5ab11af.zip llvm-0e2ceb81219af11664b84ad1d77afeabf5ab11af.tar.gz llvm-0e2ceb81219af11664b84ad1d77afeabf5ab11af.tar.bz2 | |
[WebAssembly] Don't abort on code with UB.
Gracefully leave code that performs function-pointer bitcasts implying
non-trivial pointer conversions alone, rather than aborting, since it's
just undefined behavior.
llvm-svn: 291326
Diffstat (limited to 'llvm/lib/Support/MathExtras.cpp')
0 files changed, 0 insertions, 0 deletions
