This is an archive of the discontinued LLVM Phabricator instance.

[lldb] [lit/SymbolFile] Avoid -nostdlib in target-symbols-add-unwind.test
ClosedPublic

Authored by mgorny on Apr 13 2019, 1:13 AM.

Details

Summary

Do not use -nostdlib in target-symbols-add-unwind.test. NetBSD uses
startup files to provide obligatory ELF notes in executables,
and therefore using -nostdlib requires providing specially tailored
input. Otherwise, kernel rejects the result as invalid executable.

The replacement was suggested by Pavel Labath.

Diff Detail

Event Timeline

mgorny created this revision.Apr 13 2019, 1:13 AM
labath accepted this revision.Apr 13 2019, 2:40 AM
This revision is now accepted and ready to land.Apr 13 2019, 2:40 AM
This revision was automatically updated to reflect the committed changes.
Herald added a project: Restricted Project. · View Herald TranscriptApr 13 2019, 2:50 AM