/* this is odd and should not be allowed I think */
ASSERT_AND_RET(!is_method_entity(entity),
"method in THREAD_LOCAL segment", 1);
/* this is odd and should not be allowed I think */
ASSERT_AND_RET(!is_method_entity(entity),
"method in THREAD_LOCAL segment", 1);