[PATCH] D38249: [libunwind] Skip building unused parts when targeting SJLJ

Saleem Abdulrasool via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Sep 26 15:30:46 PDT 2017


compnerd accepted this revision.
compnerd added inline comments.
This revision is now accepted and ready to land.


================
Comment at: src/libunwind.cpp:27
 
+#ifndef __USING_SJLJ_EXCEPTIONS__
 #include "AddressSpace.hpp"
----------------
I would prefer that you used:

    #if !defined(__USING_SJLJ_EXCEPTIONS__)


https://reviews.llvm.org/D38249





More information about the cfe-commits mailing list