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

View File

@ -18,13 +18,14 @@ namespace llvm {
// Relocation model types.
namespace Reloc {
enum Model { Static, PIC_, DynamicNoPIC, ROPI, RWPI, ROPI_RWPI };
// Cannot be named PIC due to collision with -DPIC
enum Model { Static, PIC_, DynamicNoPIC, ROPI, RWPI, ROPI_RWPI };
}
// Code model types.
namespace CodeModel {
// Sync changes with CodeGenCWrappers.h.
enum Model { Tiny, Small, Kernel, Medium, Large };
enum Model { Tiny, Small, Kernel, Medium, Large };
}
namespace PICLevel {