FreeBSD does not have libdl, so set it via lit.cfg as with asan. Add FreeBSD to the list of hosts to test.
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
Use libdl only on Linux as suggested by Joerg S.
-ldl is unnecessary but harmless on OS X; with this 2nd change it will no longer be added there.
test/profile/lit.cfg | ||
---|---|---|
48–49 | (accidental shuffling here - should be in alpha order) |
test/profile/lit.cfg | ||
---|---|---|
28 | I believe you should actually use extra_linkflags somewhere (e.g. in build_invocation). |
Comment Actions
Fix use of extra_linkflags as noted by Alexey Samsonov
Note, this change means that we'll add -ldl to all tests on Linux. This already happens for asan and I don't think it's a problem.
I believe you should actually use extra_linkflags somewhere (e.g. in build_invocation).