[PATCH] Add PIC-level support to Clang.

Justin Hibbits jrh29 at alumni.cwru.edu
Mon Nov 17 09:53:41 PST 2014


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

http://reviews.llvm.org/D5400






More information about the llvm-commits mailing list