summaryrefslogtreecommitdiff
path: root/lib/CodeGen/CodeGenFunction.cpp
diff options
context:
space:
mode:
authorReid Kleckner <reid@kleckner.net>2014-04-03 19:04:24 +0000
committerReid Kleckner <reid@kleckner.net>2014-04-03 19:04:24 +0000
commit3981431fb19eef89a0fa54a71e645977a6335a27 (patch)
tree5b190dc71fbc20642213735d1af2a4fe2fc39359 /lib/CodeGen/CodeGenFunction.cpp
parentdffd876205c2affe56bb9257074c72d914b2529b (diff)
downloadclang-3981431fb19eef89a0fa54a71e645977a6335a27.tar.gz
clang-3981431fb19eef89a0fa54a71e645977a6335a27.tar.bz2
clang-3981431fb19eef89a0fa54a71e645977a6335a27.tar.xz
-fms-extensions: Error out on #pragma init_seg
By ignoring this pragma with a warning, we're essentially miscompiling the user's program. WebKit / Blink use this pragma to disable dynamic initialization and finalization of some static data, and running the dtors crashes the program. Error out for now, so that /fallback compiles the TU correctly with MSVC. This pragma should be implemented some time this month, and we can remove this hack. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@205554 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions