Allow repeated registration again.
authorRafael Espindola <rafael.espindola@gmail.com>
Wed, 16 Oct 2013 20:21:39 +0000 (20:21 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Wed, 16 Oct 2013 20:21:39 +0000 (20:21 +0000)
commite6b1095e31677720708181f1bc998924340e5d46
treecebe5dbdfc3695e333785207557f1d92f5064eef
parentcdb9bd7eb9620fab864959efa8f3cfcca06b10de
Allow repeated registration again.

Our use of -fvisibility-inlines-hidden means we cannot check function pointers
against non null values.

Unfortunately, we also cannot assert that the callbacks are initialized only
once. The problem is that lldb has multiple subsystems that need to call this
and they don't have a unique initialization order.

Thanks to Sean Callanan for reporting it.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@192835 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Support/TargetRegistry.h