diff options
| author | Eric Fiselier <eric@efcs.ca> | 2016-05-03 02:04:26 +0000 |
|---|---|---|
| committer | Eric Fiselier <eric@efcs.ca> | 2016-05-03 02:04:26 +0000 |
| commit | 43a10eb637b2da24cc8d5ee1c52a7ff3a485cf9c (patch) | |
| tree | 0a898cf715e2adff8c64faf2a6de03f2e4f95e3e /llvm/lib/Object/ELF.cpp | |
| parent | c357278a383287527c589c264f7644a8df266ff6 (diff) | |
| download | llvm-43a10eb637b2da24cc8d5ee1c52a7ff3a485cf9c.zip llvm-43a10eb637b2da24cc8d5ee1c52a7ff3a485cf9c.tar.gz llvm-43a10eb637b2da24cc8d5ee1c52a7ff3a485cf9c.tar.bz2 | |
Don't use std::__clz in 'test/support/hexfloat.h'.
std::__clz is a libc++ specific function so it can't be used in the test suite.
This patch implements a dumb "count leading zeros" implementation within
hexfloat itself.
This patch also fixes UB since the output of `__builtin_clz(0)` is undefined
according to the GCC docs.
llvm-svn: 268354
Diffstat (limited to 'llvm/lib/Object/ELF.cpp')
0 files changed, 0 insertions, 0 deletions
