summaryrefslogtreecommitdiffstats
path: root/MdeModulePkg/MdeModulePkg.uni
diff options
context:
space:
mode:
authorJessica Clarke <jrtc27@jrtc27.com>2020-07-27 09:58:50 +0800
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2020-07-28 00:28:14 +0000
commita44f558a84c67cd88b8215d4c076123cf58438f4 (patch)
tree930076b77e838e1f90ceeb8eb0b1daacd242ebc7 /MdeModulePkg/MdeModulePkg.uni
parent6074f57e5b19c4cfd45a139b793191f34fa31781 (diff)
downloadedk2-a44f558a84c67cd88b8215d4c076123cf58438f4.tar.gz
edk2-a44f558a84c67cd88b8215d4c076123cf58438f4.tar.bz2
edk2-a44f558a84c67cd88b8215d4c076123cf58438f4.zip
MdePkg Base.h: Delete prototype for __builtin_return_address
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=1004 Being a compiler builtin, the type of __builtin_return_address is already known to the compiler so no prototype is needed. Clang also errors out when redeclaring certain builtins like this[1], though currently only for ones with custom type checking. At the moment, __builtin_return_address does not use custom type checking and so does not trigger this error, however, the CHERI fork of LLVM, which will form the basis of the toolchain for Arm's experimental Morello platform, does use custom type checking for it, and so gives an error. Thus, simply delete the unnecessary line. [1] llvm/llvm-project@41af97137572ad6d4dafc872e7ecf6bbb08d4984 Cc: Leif Lindholm <leif@nuviainc.com> Signed-off-by: Jessica Clarke <jrtc27@jrtc27.com> Reviewed-by: Liming Gao <liming.gao@intel.com> Reviewed-by: Zhiguang Liu <zhiguang.liu@intel.com> Reviewed-by: Leif Lindholm <leif@nuviainc.com>
Diffstat (limited to 'MdeModulePkg/MdeModulePkg.uni')
0 files changed, 0 insertions, 0 deletions