forked from OSchip/llvm-project
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:
parent
65dc65216e
commit
1d716acf76
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue