[clang-cl] Map /GA to -ftls-model=local-exec
authorDavid Majnemer <david.majnemer@gmail.com>
Wed, 20 May 2015 04:39:56 +0000 (04:39 +0000)
committerDavid Majnemer <david.majnemer@gmail.com>
Wed, 20 May 2015 04:39:56 +0000 (04:39 +0000)
commite95f3bd0fd994b1ac0011624f9a1e5240df2cc52
treeff7298ed397cf18cf6b4a2aff241387d5c63a708
parent469f9dbdb937969d97089d04fb839769c5759abb
[clang-cl] Map /GA to -ftls-model=local-exec

The /GA switch informs the compiler that it may assume that all TLS
access refers to the executable's index: 0.

llvm-svn: 237771
clang/include/clang/Driver/CLCompatOptions.td
clang/test/Driver/cl-options.c