This is an archive of the discontinued LLVM Phabricator instance.

[ASan] Minor documentation fix: clarify static linking limitation.
ClosedPublic

Authored by Dor1s on Nov 29 2018, 10:49 AM.

Details

Diff Detail

Repository
rC Clang

Event Timeline

Dor1s created this revision.Nov 29 2018, 10:49 AM
Dor1s added a comment.Nov 30 2018, 2:39 PM

PTAL, it's a single line change, I just need someone to confirm that I'm not mistaken :)

eugenis requested changes to this revision.Nov 30 2018, 3:56 PM

Sorry for the delay.
This is wrong, static linking is NOT supported.
You could be confusing it with static linking of asan runtime library to an executable - that is and has always been the default.

This revision now requires changes to proceed.Nov 30 2018, 3:56 PM
Dor1s added a comment.Dec 3 2018, 7:28 AM

Sorry for the delay.
This is wrong, static linking is NOT supported.
You could be confusing it with static linking of asan runtime library to an executable - that is and has always been the default.

Thanks, @eugenis! Should I change the message to something like "ASan runtime cannot be built with static linking."? Does it sound correct and perhaps less confusing?

How about "Static linking of executables is not supported"?

Dor1s updated this revision to Diff 176712.Dec 4 2018, 2:30 PM

Restore the message with a couple clarifying words.

Dor1s retitled this revision from [ASan] Minor documentation fix: remove static linking limitation. to [ASan] Minor documentation fix: clarify static linking limitation..Dec 4 2018, 2:32 PM
Dor1s edited the summary of this revision. (Show Details)

Thanks @eugenis for explaining the issue to me over chat. I've updated the CL and the description. I can abandon it though, if you find it useless.

eugenis accepted this revision.Dec 10 2018, 5:07 PM

LGTM

This revision is now accepted and ready to land.Dec 10 2018, 5:07 PM
This revision was automatically updated to reflect the committed changes.