[PATCH] D19104: [X86] Extend some Linux special cases to cover kFreeBSD.
Marcin KoĆcielnicki via llvm-commits
llvm-commits at lists.llvm.org
Thu Apr 14 04:01:58 PDT 2016
koriakin created this revision.
koriakin added a subscriber: llvm-commits.
koriakin set the repository for this revision to rL LLVM.
Herald added a subscriber: emaste.
Both Linux and kFreeBSD use glibc, so follow similiar code paths.
Add isTargetGlibc to check for this, and use it instead of isTargetLinux
in a few places.
Fixes PR22248 for kFreeBSD.
Repository:
rL LLVM
http://reviews.llvm.org/D19104
Files:
include/llvm/ADT/Triple.h
lib/Target/X86/X86ISelDAGToDAG.cpp
lib/Target/X86/X86ISelLowering.cpp
lib/Target/X86/X86Subtarget.cpp
lib/Target/X86/X86Subtarget.h
test/CodeGen/X86/stack-protector-target.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D19104.53685.patch
Type: text/x-patch
Size: 4513 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160414/d9c044a0/attachment.bin>
More information about the llvm-commits
mailing list