[BOLT] Move extern "C" out of unnamed namespace (#190282)
GCC 15 changes how it interprets extern "C" in unnamed namespaces and gives the variable internal linkage.
This commit is contained in:
parent
d725513e7d
commit
7c1d91c435
@ -255,11 +255,11 @@ void *operator new[](size_t Sz, BumpPtrAllocator &A, char C) {
|
||||
// C++ language weirdness
|
||||
void operator delete(void *Ptr, BumpPtrAllocator &A) { A.deallocate(Ptr); }
|
||||
|
||||
namespace {
|
||||
|
||||
// Disable instrumentation optimizations that sacrifice profile accuracy
|
||||
extern "C" bool __bolt_instr_conservative;
|
||||
|
||||
namespace {
|
||||
|
||||
/// Basic key-val atom stored in our hash
|
||||
struct SimpleHashTableEntryBase {
|
||||
uint64_t Key;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user