Skip to content
Commit c35cfa91 authored by Dmitry Vyukov's avatar Dmitry Vyukov
Browse files

include/llvm/Object/ELF.h: do debug checks only when NDEBUG

validateSymbol() is called all over the place, and it seems it's a debug check.
It significantly speedups llvm-symbolizer used in tsan/asan/msan. validateSymbol() is the second hot function and accounts for 15% of runtime.

llvm-svn: 175192
parent eee5e986
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment