summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-readobj/ELFDumper.cpp
diff options
context:
space:
mode:
authorErich Keane <erich.keane@intel.com>2019-03-21 13:30:56 +0000
committerErich Keane <erich.keane@intel.com>2019-03-21 13:30:56 +0000
commit505427cb2fe4b7d0290eabbf6785c2a3643ef637 (patch)
tree6872c3a5969a07c10f291f9b564f53dbd4f7f15f /llvm/tools/llvm-readobj/ELFDumper.cpp
parentcbb726d0c5384c029196d4c7160fa91dc3b3f0da (diff)
downloadbcm5719-llvm-505427cb2fe4b7d0290eabbf6785c2a3643ef637.tar.gz
bcm5719-llvm-505427cb2fe4b7d0290eabbf6785c2a3643ef637.zip
Permit redeclarations of a builtin to specify calling convention.
After https://reviews.llvm.org/rL355317 we noticed that quite a decent amount of code redeclares builtins (memcpy in particular, I believe reduced from an MSVC header) with a calling convention specified. This gets particularly troublesome when the user specifies a new 'default' calling convention on the command line. When looking to add a diagnostic for this case, it was noticed that we had 3 other diagnostics that differed only slightly. This patch ALSO unifies those under a 'select'. Unfortunately, the order of words in ONE of these diagnostics was reversed ("'thiscall' calling convention" vs "calling convention 'thiscall'"), so this patch also standardizes on the former. Differential Revision: https://reviews.llvm.org/D59560 Change-Id: I79f99fe7c2301640755ffdd774b46eb44526bb22 llvm-svn: 356663
Diffstat (limited to 'llvm/tools/llvm-readobj/ELFDumper.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud