diff options
author | Erik Pilkington <erik.pilkington@gmail.com> | 2019-03-13 21:37:01 +0000 |
---|---|---|
committer | Erik Pilkington <erik.pilkington@gmail.com> | 2019-03-13 21:37:01 +0000 |
commit | 02886e547649cfbf09edf0a60a87b6a10497b6ab (patch) | |
tree | fba29623886f6488c13b910ca0183721df7ba477 /clang/lib/CodeGen/CodeGenFunction.h | |
parent | a688a42cdda4a71e6e23d5acc47d85d47fa3b0e8 (diff) | |
download | bcm5719-llvm-02886e547649cfbf09edf0a60a87b6a10497b6ab.tar.gz bcm5719-llvm-02886e547649cfbf09edf0a60a87b6a10497b6ab.zip |
Revert "Add a new attribute, fortify_stdlib"
This reverts commit r353765. After talking with our c stdlib folks, we decided
to use the existing pass_object_size attribute to implement _FORTIFY_SOURCE
wrappers, like Bionic does (I didn't realize that pass_object_size could be used
for this purpose). Sorry for the flip/flop, and thanks to James Y. Knight for
pointing this out to me.
llvm-svn: 356103
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.h')
-rw-r--r-- | clang/lib/CodeGen/CodeGenFunction.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/clang/lib/CodeGen/CodeGenFunction.h b/clang/lib/CodeGen/CodeGenFunction.h index 37b62470aff..e8ab734c4bb 100644 --- a/clang/lib/CodeGen/CodeGenFunction.h +++ b/clang/lib/CodeGen/CodeGenFunction.h @@ -3697,10 +3697,6 @@ public: RValue EmitBuiltinExpr(const GlobalDecl GD, unsigned BuiltinID, const CallExpr *E, ReturnValueSlot ReturnValue); - RValue emitFortifiedStdLibCall(CodeGenFunction &CGF, const CallExpr *CE, - unsigned BuiltinID, unsigned BOSType, - unsigned Flag); - RValue emitRotate(const CallExpr *E, bool IsRotateRight); /// Emit IR for __builtin_os_log_format. |