Jason removed the include guards in 681f6c2f552fb9b57380f4bfd453e1fc9b6a099e. This removes the corresponding CMake logic.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
I think we only support building debugserver on macOS systems that have libcompression. Was there a configuration where this resulted in an error? lldb needs to test for libcompression and use it if available, but with debugserver we assume it is available iirc. I'm fine with the patch, but I'm curious how it came up. It used to be tested before use etc but I removed that a couple of years ago when our minimum deployment target was high enough that it was always available.
Comment Actions
fwiw,
commit 681f6c2f552fb9b57380f4bfd453e1fc9b6a099e Author: Jason Molenda <jmolenda@apple.com> Date: Tue Dec 18 22:21:48 2018 +0000 Un-conditionalize use of libcompression. debugserver only builds on Darwin systems and libcompression has been in the OS for over three years.
Comment Actions
That also works for me, but then let's remove the corresponding logic in CMake as well.
Comment Actions
Sounds good. I think it's test-and-use for lldb, and debugserver ended up structure the same way.