aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorKostya Serebryany <kcc@google.com>2014-01-14 07:38:53 +0000
committerKostya Serebryany <kcc@google.com>2014-01-14 07:38:53 +0000
commit47d5569de1047c96ad79f0fd48e79c864d7cf700 (patch)
tree612b6d0b2b5d1a64b2eff99a2ad752985f2008fd /clang/lib/Frontend/CompilerInvocation.cpp
parent43ea3478bf64e7ebfb588a1a66fbcc2161e768bb (diff)
downloadllvm-47d5569de1047c96ad79f0fd48e79c864d7cf700.zip
llvm-47d5569de1047c96ad79f0fd48e79c864d7cf700.tar.gz
llvm-47d5569de1047c96ad79f0fd48e79c864d7cf700.tar.bz2
[asan] Include <sys/stat.h> if __x86_64__ is defined
struct stat defined in <asm/stat.h> is incorrect for x32. <asm/stat.h> is included to get struct __old_kernel_stat. But struct __old_kernel_stat isn't used for x86-64 nor x32. This patch includes <sys/stat.h> instead of <asm/stat.h> and comments out size check of struct __old_kernel_stat for x86-64. Patch by H.J. Lu llvm-svn: 199192
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions