1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-01-31 20:51:52 +01:00

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 915ead9658
commit 9a6bc4184d

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 {