summaryrefslogtreecommitdiff
path: root/test/CodeGenCXX/pragma-init_seg.cpp
Commit message (Collapse)AuthorAge
* -fms-extensions: Error out on #pragma init_segReid Kleckner2014-04-03
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