This is an archive of the discontinued LLVM Phabricator instance.

Add a doc for missing key function and an error message referencing the doc.
ClosedPublic

Authored by ruiu on Dec 20 2018, 3:50 PM.

Details

Summary

This is a common error, and because many people don't know what the key
function is, it is sometimes very confusing.

The doc was originally written by Brooks Moses and slightly edited by me.

Diff Detail

Repository
rL LLVM

Event Timeline

ruiu created this revision.Dec 20 2018, 3:50 PM
MaskRay accepted this revision.Dec 21 2018, 9:45 AM

As a reference, gold added this in https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=93acabad6a0ff499e4e18d44c41292ef48cde104

This is an extremely common user error and cause confusion so we ought to add it.

This revision is now accepted and ready to land.Dec 21 2018, 9:45 AM
ruiu updated this revision to Diff 179312.Dec 21 2018, 10:47 AM
  • add a document about missing key function error
ruiu retitled this revision from Show a user-friendly error message for a missing vtable symbol. to Add a doc for missing key function and an error message referencing the doc..Dec 21 2018, 10:59 AM
ruiu edited the summary of this revision. (Show Details)
ruiu added reviewers: brooksmoses, echristo.
echristo added inline comments.Dec 21 2018, 11:16 AM
lld/docs/missingkeymethod.rst
82 ↗(On Diff #179312)

Perhaps change "build file" to "dependencies"?

ruiu updated this revision to Diff 179319.Dec 21 2018, 11:18 AM
  • review comments
This revision was automatically updated to reflect the committed changes.