summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGenCXX/bitfield.cpp
diff options
context:
space:
mode:
authorAlexey Samsonov <samsonov@google.com>2014-03-20 10:48:29 +0000
committerAlexey Samsonov <samsonov@google.com>2014-03-20 10:48:29 +0000
commitcb3f812b6b9fab8f3b41414f24e90222170417b4 (patch)
treeac02f7f09fed1a8d527c8ff2c3998219048fa819 /clang/test/CodeGenCXX/bitfield.cpp
parenta0f5328984de79fba24ec55cd1cc3fcc3eb98cfa (diff)
downloadbcm5719-llvm-cb3f812b6b9fab8f3b41414f24e90222170417b4.tar.gz
bcm5719-llvm-cb3f812b6b9fab8f3b41414f24e90222170417b4.zip
Kill -faddress-sanitizer, -fthread-sanitizer and -fcatch-undefined-behavior flags.
These flags are deprecated since at least Clang 3.3. Users should instead use -fsanitize= with appropriate values. llvm-svn: 204330
Diffstat (limited to 'clang/test/CodeGenCXX/bitfield.cpp')
-rw-r--r--clang/test/CodeGenCXX/bitfield.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/clang/test/CodeGenCXX/bitfield.cpp b/clang/test/CodeGenCXX/bitfield.cpp
index 820af16b1c4..fafeffe1ed2 100644
--- a/clang/test/CodeGenCXX/bitfield.cpp
+++ b/clang/test/CodeGenCXX/bitfield.cpp
@@ -298,7 +298,7 @@ namespace N4 {
#endif
unsigned read(Base* s) {
// FIXME: We should widen this load as long as the function isn't being
- // instrumented by thread-sanitizer.
+ // instrumented by ThreadSanitizer.
//
// CHECK-X86-64-LABEL: define i32 @_ZN2N44read
// CHECK-X86-64: %[[gep:.*]] = getelementptr inbounds {{.*}}* %{{.*}}, i32 0, i32 1
@@ -378,8 +378,8 @@ namespace N6 {
// Zero-length bitfields partition the memory locations of bitfields for the
// purposes of the memory model. That means stores must not span zero-length
// bitfields and loads may only span them when we are not instrumenting with
- // thread sanitizer.
- // FIXME: We currently don't widen loads even without thread sanitizer, even
+ // ThreadSanitizer.
+ // FIXME: We currently don't widen loads even without ThreadSanitizer, even
// though we could.
struct S {
unsigned b1 : 24;
@@ -448,7 +448,7 @@ namespace N7 {
#endif
unsigned read(B2* s) {
// FIXME: We should widen this load as long as the function isn't being
- // instrumented by thread-sanitizer.
+ // instrumented by ThreadSanitizer.
//
// CHECK-X86-64-LABEL: define i32 @_ZN2N74read
// CHECK-X86-64: %[[gep:.*]] = getelementptr inbounds {{.*}}* %{{.*}}, i32 0, i32 1
OpenPOWER on IntegriCloud