[PATCH] Add PIC-level support to Clang.

Rafael Ávila de Espíndola rafael.espindola at gmail.com
Mon Nov 17 09:45:23 PST 2014


================
Comment at: lib/CodeGen/CodeGenModule.cpp:401
@@ +400,3 @@
+    case 2: PL = llvm::PICLevel::Large; break;
+    default: assert(0 && "Invalid PIC Level");
+    }
----------------
We use llvm_unreachble instead of assert(0).

http://reviews.llvm.org/D5400






More information about the llvm-commits mailing list