[PATCH] Allow undefined symbols in shared library by default

Davide Italiano davide at freebsd.org
Tue Apr 7 17:23:25 PDT 2015


Hi rafael,

As previously discussed on IRC. 
Fixes https://llvm.org/bugs/show_bug.cgi?id=23035

REPOSITORY
  rL LLVM

http://reviews.llvm.org/D8886

Files:
  LinkingContext.cpp

Index: LinkingContext.cpp
===================================================================
--- LinkingContext.cpp
+++ LinkingContext.cpp
@@ -24,7 +24,7 @@
       _warnIfCoalesableAtomsHaveDifferentCanBeNull(false),
       _warnIfCoalesableAtomsHaveDifferentLoadName(false),
       _printRemainingUndefines(true), _allowRemainingUndefines(false),
-      _logInputFiles(false), _allowShlibUndefines(false),
+      _logInputFiles(false), _allowShlibUndefines(true),
       _outputFileType(OutputFileType::Default), _nextOrdinal(0) {}
 
 LinkingContext::~LinkingContext() {}

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D8886.23385.patch
Type: text/x-patch
Size: 574 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150408/4755694a/attachment.bin>


More information about the llvm-commits mailing list