In patch http://reviews.llvm.org/D19671, I added a patch to create PIELevel module flag. This patch sets the flag.
Diff Detail
Diff Detail
Event Timeline
Comment Actions
lgtm
lib/CodeGen/CodeGenModule.cpp | ||
---|---|---|
492–498 | This seems simpler as: assert(PLevel < 3 && "invalid PIE level"); getModule().setPIELevel(static_cast<llvm::PIELevel::Level>(PLevel)); |
Comment Actions
still lgtm
lib/CodeGen/CodeGenModule.cpp | ||
---|---|---|
486 | formatting nit: no space between 'assert' and '(' |
formatting nit: no space between 'assert' and '('