[pkg-d-commits] [ldc] 142/211: fix issue 1876: passing /LARGEADDRESSAWARE:NO is a workaround for DWARF debug info, it causes trouble with CodeView debug info

Matthias Klumpp mak at moszumanska.debian.org
Sun Apr 23 22:36:17 UTC 2017


This is an automated email from the git hooks/post-receive script.

mak pushed a commit to annotated tag v1.1.0
in repository ldc.

commit 27c395caa9fe866b3258e4f5ef2248895d6e3b8b
Author: Rainer Schuetze <r.sagitario at gmx.de>
Date:   Sun Nov 13 10:46:55 2016 +0100

    fix issue 1876: passing /LARGEADDRESSAWARE:NO is a workaround for DWARF debug info, it causes trouble with CodeView debug info
---
 driver/linker.cpp | 8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)

diff --git a/driver/linker.cpp b/driver/linker.cpp
index b380331..7798bdc 100644
--- a/driver/linker.cpp
+++ b/driver/linker.cpp
@@ -688,15 +688,9 @@ static int linkObjToBinaryMSVC(bool sharedLib) {
   args.push_back("/NOLOGO");
 
   // specify that the image will contain a table of safe exception handlers
-  // (32bit only)
+  // and can handle addresses >2GB (32bit only)
   if (!global.params.is64bit) {
     args.push_back("/SAFESEH");
-  }
-
-  // because of a LLVM bug, see LDC issue 442
-  if (global.params.symdebug) {
-    args.push_back("/LARGEADDRESSAWARE:NO");
-  } else {
     args.push_back("/LARGEADDRESSAWARE");
   }
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-d/ldc.git



More information about the pkg-d-commits mailing list