summaryrefslogtreecommitdiffstats
path: root/clang/test/Modules/ExtDebugInfo.cpp
diff options
context:
space:
mode:
authorDavid Majnemer <david.majnemer@gmail.com>2016-01-22 16:36:44 +0000
committerDavid Majnemer <david.majnemer@gmail.com>2016-01-22 16:36:44 +0000
commitfc80b6e5d816005a6ea33fc9107579a16bb73ae0 (patch)
tree691e7a2dbb09ccdfb0734fbeb199670d96f3b40c /clang/test/Modules/ExtDebugInfo.cpp
parentf7ed399881ecd7b133ab3b885ba8113b113a0a58 (diff)
downloadbcm5719-llvm-fc80b6e5d816005a6ea33fc9107579a16bb73ae0.tar.gz
bcm5719-llvm-fc80b6e5d816005a6ea33fc9107579a16bb73ae0.zip
[MSVC Compat] Don't provide /volatile:ms semantics to types > pointer
Volatile loads of type wider than a pointer get split by MSVC because the base x86 ISA doesn't provide loads which are wider than pointer width. LLVM assumes that it can emit an cmpxchg8b but this is problematic if the memory is in a CONST memory segment. Instead, provide behavior compatible with MSVC: split loads wider than a pointer. llvm-svn: 258506
Diffstat (limited to 'clang/test/Modules/ExtDebugInfo.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud