diff options
| author | Nick Kledzik <kledzik@apple.com> | 2014-09-09 00:17:52 +0000 | 
|---|---|---|
| committer | Nick Kledzik <kledzik@apple.com> | 2014-09-09 00:17:52 +0000 | 
| commit | b7035ae3677307d88de342f5c9379498a3d9c7aa (patch) | |
| tree | 5687d3277fb0db6cb80b4126ee6d01f3448533e8 /llvm/tools/llvm-cov/SourceCoverageView.cpp | |
| parent | 513e8a911f8d6542578f891378a8840dc570d495 (diff) | |
| download | llvm-b7035ae3677307d88de342f5c9379498a3d9c7aa.zip llvm-b7035ae3677307d88de342f5c9379498a3d9c7aa.tar.gz llvm-b7035ae3677307d88de342f5c9379498a3d9c7aa.tar.bz2 | |
[mach-o] Add support for -pie and -no_pie
There is a bit (MH_PIE) in the flags field of the mach_header which tells
the kernel is a program was built position independent (for ASLR).  The linker
automatically attempts to build programs PIE if they are built for a recent
OS version.  But the -pie and -no_pie options override that default behavior.
llvm-svn: 217408
Diffstat (limited to 'llvm/tools/llvm-cov/SourceCoverageView.cpp')
0 files changed, 0 insertions, 0 deletions
