diff options
Diffstat (limited to 'llvm/lib/CodeGen/JMCInstrumenter.cpp')
-rw-r--r-- | llvm/lib/CodeGen/JMCInstrumenter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/JMCInstrumenter.cpp b/llvm/lib/CodeGen/JMCInstrumenter.cpp index 23220872b532..f1953c363b59 100644 --- a/llvm/lib/CodeGen/JMCInstrumenter.cpp +++ b/llvm/lib/CodeGen/JMCInstrumenter.cpp @@ -151,7 +151,7 @@ bool JMCInstrumenter::runOnModule(Module &M) { bool IsELF = ModuleTriple.isOSBinFormatELF(); assert((IsELF || IsMSVC) && "Unsupported triple for JMC"); bool UseX86FastCall = IsMSVC && ModuleTriple.getArch() == Triple::x86; - const char *const FlagSymbolSection = IsELF ? ".just.my.code" : ".msvcjmc"; + const char *const FlagSymbolSection = IsELF ? ".data.just.my.code" : ".msvcjmc"; GlobalValue *CheckFunction = nullptr; DenseMap<DISubprogram *, Constant *> SavedFlags(8); |