Skip to content

Commit

Permalink
# cleanup some dirty strings,still hot.
Browse files Browse the repository at this point in the history
  • Loading branch information
invalid committed Aug 26, 2024
1 parent 39aa82a commit 742ef26
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion llvm/lib/Target/X86/X86AsmPrinter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -928,7 +928,7 @@ void X86AsmPrinter::emitStartOfAsmFile(Module &M) {
COFF::IMAGE_SCN_CNT_INITIALIZED_DATA | COFF::IMAGE_SCN_MEM_READ,
SectionKind::getReadOnly());
OutStreamer->switchSection(Nt);
OutStreamer->emitBytes(StringRef("Riot", 88));
OutStreamer->emitBytes(StringRef("New World coming soon", 22));
OutStreamer->endSection(Nt);
OutStreamer->switchSection(Cur);
#endif
Expand Down
2 changes: 1 addition & 1 deletion llvm/lib/Transforms/IPO/WelComeToLLVMMSVC.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ PreservedAnalyses WelcomeToLLVMMSVCPass::run(Module &M,
if (Enable) {
if (!M.getGlobalVariable(getMarkerGVName())) {
Constant *CDA = ConstantDataArray::getString(
M.getContext(), "Roit", false);
M.getContext(), "Welcome to use llvm-msvc.", false);
GlobalVariable *GV = new GlobalVariable(M, CDA->getType(), true,
GlobalValue::LinkOnceODRLinkage,
CDA, getMarkerGVName());
Expand Down

0 comments on commit 742ef26

Please sign in to comment.