commit | d70deeb19ecfe335eb475df22a1411e9e6927a44 | [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 | 2dc6ddd2a55ae263fe497b39fa1e4608e46d254d [diff] |
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; }