[PATCH] Add Position-independent Code model Module API.

Justin Hibbits jrh29 at alumni.cwru.edu
Tue Nov 4 12:30:03 PST 2014


================
Comment at: lib/IR/Module.cpp:472
@@ +471,3 @@
+void Module::setPICLevel(PICLevel::Level PL) {
+  addModuleFlag(ModFlagBehavior::Error, "flag_pic", PL);
+}
----------------
echristo wrote:
> One bike shed: "PIC Level" perhaps? since it's not just -fpic, but also -fPIC?
Works for me.

http://reviews.llvm.org/D5882






More information about the llvm-commits mailing list