[LLVMbugs] [Bug 12759] New: Conditional symbol exports in header files.

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon May 7 17:36:48 PDT 2012


http://llvm.org/bugs/show_bug.cgi?id=12759

             Bug #: 12759
           Summary: Conditional symbol exports in header files.
           Product: clang
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: cheako+llvm_org at mikemestnik.net
                CC: dgregor at apple.com, llvmbugs at cs.uiuc.edu
    Classification: Unclassified


Hello,
  I'm trying to build the Mesa project and there could be problems building
with or without NDEBUG.  The Mesa project uses this also and I don't know if
it's use needs to be independent of llvm.

However I'm sure that the header file is the wrong place to be making changes
in the ABI based on preprocessor variables.  If this switch were instead moved
into the code, then there is only a slight performance penalty calling an
empty/noop function.

Currently in certain situations the Mesa project is built with symbols that are
not part of the llvm library and this breaks compilation.

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list