commit | 9eb158d5b4cd4f6fc80912e2dd77bdf13c3ca0e7 | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Sat Jan 23 07:47:02 2010 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Sat Jan 23 07:47:02 2010 +0000 |
tree | e51fc5dd2d8b42749fd516f3cae3457155d767ca | |
parent | f9f93e4388962b678fd59b7af5212d4cc0d38be2 [diff] [blame] |
mcize lcomm, simplify .comm, extend both to support 64-bit sizes. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94299 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/CodeGen/AsmPrinter/AsmPrinter.cpp b/lib/CodeGen/AsmPrinter/AsmPrinter.cpp index fc2c5a0..f4d8864 100644 --- a/lib/CodeGen/AsmPrinter/AsmPrinter.cpp +++ b/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
@@ -196,9 +196,9 @@ return; } - if (const char *LComm = MAI->getLCOMMDirective()) { + if (MAI->hasLCOMMDirective()) { // .lcomm _foo, 42 - O << LComm << *GVSym << ',' << Size << '\n'; + OutStreamer.EmitLocalCommonSymbol(GVSym, Size); return; }