Make sure C++ protection shows up in debug info