New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Azure & Shippable: Upgrade LDC-LLVM to v9.0.0 #3166
Conversation
@Hardcode84: jit-rt hits deprecations such as:
|
1caf0b3
to
8a516a3
Compare
ok, I'll check it after merge, thanks |
3ca8ce9
to
6a7267d
Compare
@Hardcode84: Thanks - there's a transitioning guide in the release notes. The PGO counter linkage changes on Windows probably render our LLVM workaround obsolete - will check. Edit: Yes, workaround removed. |
Okay, only remaining bullet point is how to handle libfuzzer's dropped support for |
Let's not stress about this. We can simply drop it as well if Clang dropped support. |
I already dropped it (as libFuzzer would just terminate the program after printing an error). The question was more wrt. how to adapt the tests - duplicate the 4 failing ones without trace-pc-guard stuff for LLVM 9+ or just remove the related checks for all LLVM versions? |
For the trace-pc-guard stuff, this is an important Clang commit https://www.mail-archive.com/cfe-commits@lists.llvm.org/msg67181.html Edit: I've used the github interface to modify the code, hope it works. |
Tested the fuzz changes locally, and fuzzing seems to work as before. |
Thx Johan! |
Ah you already fixed the test :) |
Yes, pushing should work, the only time I wasn't able to was when Stefanos used his default branch as PR branch. |
|
Hmm, so that simply means that c++ libs are no longer necessary to fuzz? |
With static druntime/Phobos (Azure: building both shared/static, lit-tests only testing default static libs), the C++ lib is apparently still required, for both Linux and Mac... |
I think the test is meant to only test that |
Including some of Nicholas' fixes in ldc-developers#3144.
The linkage for the counters changed from `internal` to `linkonce_odr dso_local`, and the previous regex didn't allow underscores.
See Clang rev 312346: https://llvm.org/viewvc/llvm-project?view=revision&revision=312346 TracePCGuard is no longer supported by LLVM >= 9.0.
This fixes the fuzz breakage introduced in the previous commit.
The C++ lib apparently isn't required with shared druntime/Phobos.
Johan, you're welcome to follow-up with additional tests. |
No description provided.