[dragonegg] r208845 - Update MCOptions corresponding to r208832.

Eric Christopher echristo at gmail.com
Wed May 14 20:31:23 PDT 2014


Thanks!
On May 14, 2014 8:09 PM, "NAKAMURA Takumi" <geek4civic at gmail.com> wrote:

> Author: chapuni
> Date: Wed May 14 22:00:48 2014
> New Revision: 208845
>
> URL: http://llvm.org/viewvc/llvm-project?rev=208845&view=rev
> Log:
> Update MCOptions corresponding to r208832.
>
> Modified:
>     dragonegg/trunk/src/Backend.cpp
>
> Modified: dragonegg/trunk/src/Backend.cpp
> URL:
> http://llvm.org/viewvc/llvm-project/dragonegg/trunk/src/Backend.cpp?rev=208845&r1=208844&r2=208845&view=diff
>
> ==============================================================================
> --- dragonegg/trunk/src/Backend.cpp (original)
> +++ dragonegg/trunk/src/Backend.cpp Wed May 14 22:00:48 2014
> @@ -526,14 +526,14 @@ static void CreateTargetMachine(const st
>  #ifdef LLVM_SET_TARGET_MACHINE_OPTIONS
>    LLVM_SET_TARGET_MACHINE_OPTIONS(Options);
>  #endif
> +  // Binutils does not yet support the use of file directives with an
> explicit
> +  // directory.  FIXME: Once GCC learns to detect support for this,
> condition
> +  // on what GCC detected.
> +  Options.MCOptions.MCUseDwarfDirectory = false;
>
>    TheTarget = TME->createTargetMachine(TargetTriple, CPU, FeatureStr,
> Options,
>                                         RelocModel, CMModel,
> CodeGenOptLevel());
>    assert(TheTarget->getDataLayout()->isBigEndian() == BYTES_BIG_ENDIAN);
> -  // Binutils does not yet support the use of file directives with an
> explicit
> -  // directory.  FIXME: Once GCC learns to detect support for this,
> condition
> -  // on what GCC detected.
> -  TheTarget->setMCUseDwarfDirectory(false);
>  }
>
>  /// output_ident - Insert a .ident directive that identifies the plugin.
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140514/7edc91a8/attachment.html>


More information about the llvm-commits mailing list