Skip to content
Snippets Groups Projects
  • Martell Malone's avatar
    dd9e3a32
    Toolchain: Normalize dwarf, sjlj and seh eh · dd9e3a32
    Martell Malone authored
    This is a re-apply of r319294.
    
    adds -fseh-exceptions and -fdwarf-exceptions flags
    
    clang will check if the user has specified an exception model flag,
    in the absense of specifying the exception model clang will then check
    the driver default and append the model flag for that target to cc1
    
    -fno-exceptions has a higher priority then specifying the model
    
    move __SEH__ macro definitions out of Targets into InitPreprocessor
    behind the -fseh-exceptions flag
    
    move __ARM_DWARF_EH__ macrodefinitions out of verious targets and into
    InitPreprocessor behind the -fdwarf-exceptions flag and arm|thumb check
    
    remove unused USESEHExceptions from the MinGW Driver
    
    fold USESjLjExceptions into a new GetExceptionModel function that
    gives the toolchain classes more flexibility with eh models
    
    Reviewers: rnk, mstorsjo
    
    Differential Revision: https://reviews.llvm.org/D39673
    
    git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@319297 91177308-0d34-0410-b5e6-96231b3b80d8
    dd9e3a32
    History
    Toolchain: Normalize dwarf, sjlj and seh eh
    Martell Malone authored
    This is a re-apply of r319294.
    
    adds -fseh-exceptions and -fdwarf-exceptions flags
    
    clang will check if the user has specified an exception model flag,
    in the absense of specifying the exception model clang will then check
    the driver default and append the model flag for that target to cc1
    
    -fno-exceptions has a higher priority then specifying the model
    
    move __SEH__ macro definitions out of Targets into InitPreprocessor
    behind the -fseh-exceptions flag
    
    move __ARM_DWARF_EH__ macrodefinitions out of verious targets and into
    InitPreprocessor behind the -fdwarf-exceptions flag and arm|thumb check
    
    remove unused USESEHExceptions from the MinGW Driver
    
    fold USESjLjExceptions into a new GetExceptionModel function that
    gives the toolchain classes more flexibility with eh models
    
    Reviewers: rnk, mstorsjo
    
    Differential Revision: https://reviews.llvm.org/D39673
    
    git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@319297 91177308-0d34-0410-b5e6-96231b3b80d8
Code owners
Assign users and groups as approvers for specific file changes. Learn more.