Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / native_client / src / trusted / service_runtime / linux / nacl_bootstrap.gyp
index 3e0f989..084b778 100644 (file)
         '-fno-pie', '-fno-PIE',
       ],
       'cflags!': [
+        # ld_bfd.py that is used to link nacl_bootstrap_raw doesn't recognize
+        # the Clang driver flags and will fail to link instrumented
+        # nacl_bootstrap.o.
+        # We hope there's nothing to search for in this small program and
+        # disable all the sanitizers for it.
         '-fsanitize=address',
         '-fsanitize=memory',
         '-fsanitize=null',
         '-fsanitize=vptr',
+        '-fsanitize=undefined',
         '-w',
         # We filter these out because release_extra_cflags or another
         # such thing might be adding them in, and those options wind up