[llvm] r210406 - MC: fix ctor/dtor section for windows-itanium
Saleem Abdulrasool
compnerd at compnerd.org
Sat Jun 7 18:36:43 PDT 2014
On Sat, Jun 7, 2014 at 6:12 PM, David Blaikie <dblaikie at gmail.com> wrote:
> Test coverage?
Dunno what happened to it. I blame dragons! Thanks for pointing out that
I had missed that, added in SVN r210409.
On Sat, Jun 7, 2014 at 5:34 PM, Saleem Abdulrasool
> <compnerd at compnerd.org> wrote:
> > Author: compnerd
> > Date: Sat Jun 7 19:34:27 2014
> > New Revision: 210406
> >
> > URL: http://llvm.org/viewvc/llvm-project?rev=210406&view=rev
> > Log:
> > MC: fix ctor/dtor section for windows-itanium
> >
> > This adjusts the section setup for the windows-itanium environment. This
> > environment does not report to be a known windows msvc environment, even
> though
> > it is (nearly) identical to the MSVC environment for C code.
> >
> > Modified:
> > llvm/trunk/lib/MC/MCObjectFileInfo.cpp
> >
> > Modified: llvm/trunk/lib/MC/MCObjectFileInfo.cpp
> > URL:
> http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/MC/MCObjectFileInfo.cpp?rev=210406&r1=210405&r2=210406&view=diff
> >
> ==============================================================================
> > --- llvm/trunk/lib/MC/MCObjectFileInfo.cpp (original)
> > +++ llvm/trunk/lib/MC/MCObjectFileInfo.cpp Sat Jun 7 19:34:27 2014
> > @@ -598,7 +598,7 @@ void MCObjectFileInfo::InitCOFFMCObjectF
> > COFF::IMAGE_SCN_MEM_READ,
> > SectionKind::getReadOnly());
> >
> > - if (T.isKnownWindowsMSVCEnvironment()) {
> > + if (T.isKnownWindowsMSVCEnvironment() ||
> T.isWindowsItaniumEnvironment()) {
> > StaticCtorSection =
> > Ctx->getCOFFSection(".CRT$XCU",
> > COFF::IMAGE_SCN_CNT_INITIALIZED_DATA |
> >
> >
> > _______________________________________________
> > llvm-commits mailing list
> > llvm-commits at cs.uiuc.edu
> > http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>
--
Saleem Abdulrasool
compnerd (at) compnerd (dot) org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140607/c223c302/attachment.html>
More information about the llvm-commits
mailing list