Adar Dembo has posted comments on this change. Change subject: Fix gcov weak symbol declaration on OS X ......................................................................
Patch Set 2: (3 comments) http://gerrit.cloudera.org:8080/#/c/2494/2/src/kudu/util/debug-util.cc File src/kudu/util/debug-util.cc: Line 41: #ifndef COVERAGE_BUILD Would you mind inverting this and switching the order of the extern declarations? "Negations are hard, let's go shopping..." Line 42: // OS X does not support weak linking properly. Is there an LLVM bug we can link to? Do we know what the underlying issue is? Line 45: extern "C" void __gcov_flush() __attribute__((weak_import)); But this code path works? That is, you tried building a coverage build on OSX? -- To view, visit http://gerrit.cloudera.org:8080/2494 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-MessageType: comment Gerrit-Change-Id: I03be748427c9a811ae8fbcb208b077be8a8d9db6 Gerrit-PatchSet: 2 Gerrit-Project: kudu Gerrit-Branch: master Gerrit-Owner: Dan Burkert <[email protected]> Gerrit-Reviewer: Adar Dembo <[email protected]> Gerrit-Reviewer: Kudu Jenkins Gerrit-Reviewer: Todd Lipcon <[email protected]> Gerrit-HasComments: Yes
