Restore comment regarding why Reloc::PIC_ can't be PIC

The original change back in rL29307 explained this but it was
lost somewhere along the way.

Differential Revision: https://reviews.llvm.org/D59445

llvm-svn: 356402
This commit is contained in:
Sam Clegg 2019-03-18 20:04:34 +00:00
parent 65dc65216e
commit 1d716acf76
1 changed files with 3 additions and 2 deletions
llvm/include/llvm/Support

View File

@ -18,6 +18,7 @@ namespace llvm {
// Relocation model types.
namespace Reloc {
// Cannot be named PIC due to collision with -DPIC
enum Model { Static, PIC_, DynamicNoPIC, ROPI, RWPI, ROPI_RWPI };
}