Fix buildbot failure https://lab.llvm.org/buildbot/#/builders/38/builds/14427.
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Generally it's preferred to either push bot failure fixes directly or revert the original commit (also without review), to get bots unblocked as soon as possible :)
From what I can see, the test failure is because dso_local isn't emitted on Mac. That seems incidental to the point of your test, so using a regex match instead might be preferable.
Thanks. I am going to continue with a review since I started it. It should work now. Thanks for the suggestion (I always forget about RE and MAC :-).
The -triple x86_64-unknown-unknown shouldn't be required after the regex change, but I'm fine either way. I'd recommend pushing this to fix the bots, and Aaron/Nico can do a post-commit review if they have any other comments.
I don't think pre-merge testing covers Mac, only Linux and Windows (which is presumably how the original breakage got in). If the test passes for you locally I'd just push it and monitor the bots afterwards. (That isn't general advice, but in this specific case, since we already have broken bots, I think it's worth prioritizing a potential fix for them over waiting for previously known-good configurations.)