aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenFunction.cpp
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2020-07-27 23:44:41 +0300
committerMartin Storsjö <martin@martin.st>2020-07-28 21:08:37 +0300
commit745eb02496b515cc8292dd7f9d7f0db43e162013 (patch)
treeb11726d9b328d99a19bfb53281db0bb9ff791bce /clang/lib/CodeGen/CodeGenFunction.cpp
parent5608f28f552793d115a7f8682559ab053f961924 (diff)
downloadllvm-745eb02496b515cc8292dd7f9d7f0db43e162013.zip
llvm-745eb02496b515cc8292dd7f9d7f0db43e162013.tar.gz
llvm-745eb02496b515cc8292dd7f9d7f0db43e162013.tar.bz2
[LLD] [MinGW] Implement the --no-seh flag
Previously this flag was just ignored. If set, set the IMAGE_DLL_CHARACTERISTICS_NO_SEH bit, regardless of the normal safeSEH machinery. In mingw configurations, the safeSEH bit might not be set in e.g. object files built from handwritten assembly, making it impossible to use the normal safeseh flag. As mingw setups don't generally use SEH on 32 bit x86 at all, it should be fine to set that flag bit though - hook up the existing GNU ld flag for controlling that. Differential Revision: https://reviews.llvm.org/D84701
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions