[llvm-commits] [llvm] r168935 - /llvm/trunk/lib/Object/MachOObjectFile.cpp
Jim Grosbach
grosbach at apple.com
Thu Nov 29 12:50:52 PST 2012
Thanks. I was just about to push the exact change. :)
On Nov 29, 2012, at 12:08 PM, Benjamin Kramer <benny.kra at googlemail.com> wrote:
> Author: d0k
> Date: Thu Nov 29 14:08:03 2012
> New Revision: 168935
>
> URL: http://llvm.org/viewvc/llvm-project?rev=168935&view=rev
> Log:
> Object: Pass the buffer name through when making a copy.
>
> Should bring the buildbots back to life.
>
> Modified:
> llvm/trunk/lib/Object/MachOObjectFile.cpp
>
> Modified: llvm/trunk/lib/Object/MachOObjectFile.cpp
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Object/MachOObjectFile.cpp?rev=168935&r1=168934&r2=168935&view=diff
> ==============================================================================
> --- llvm/trunk/lib/Object/MachOObjectFile.cpp (original)
> +++ llvm/trunk/lib/Object/MachOObjectFile.cpp Thu Nov 29 14:08:03 2012
> @@ -56,7 +56,8 @@
> // not a copy of the memory itself), so just make a new copy here for
> // the MachOObjectFile.
> MemoryBuffer *NewBuffer =
> - MemoryBuffer::getMemBuffer(Buffer->getBuffer(), "", false);
> + MemoryBuffer::getMemBuffer(Buffer->getBuffer(),
> + Buffer->getBufferIdentifier(), false);
> return new MachOObjectFile(NewBuffer, MachOObj, ec);
> }
>
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
More information about the llvm-commits
mailing list