We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c1e4420 commit 4444ff9Copy full SHA for 4444ff9
lib/IRGen/GenMeta.cpp
@@ -603,7 +603,6 @@ namespace {
603
auto var = cast<llvm::GlobalVariable>(addr);
604
605
var->setConstant(true);
606
- disableAddressSanitizer(IGM, var);
607
IGM.setTrueConstGlobal(var);
608
}
609
lib/IRGen/GenProto.cpp
@@ -2240,6 +2240,7 @@ void IRGenModule::emitProtocolConformance(
2240
getAddrOfProtocolConformanceDescriptor(conformance,
2241
init.finishAndCreateFuture()));
2242
2243
+ setTrueConstGlobal(var);
2244
2245
2246
void IRGenModule::ensureRelativeSymbolCollocation(SILWitnessTable &wt) {
0 commit comments