================
@@ -298,6 +298,12 @@ SectionKind
TargetLoweringObjectFile::getKindForGlobal(const GlobalObject *GO,
// If the global is marked constant, we can put it into a mergable section,
// a mergable string section, or general .data if it contains relocations.
if (GVar->isConstant()) {
+ if (GVar->hasSanitizerMetadata()) {
+ auto Meta = GVar->getSanitizerMetadata();
----------------
fmayer wrote:
as above
https://github.com/llvm/llvm-project/pull/182028
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits