Skip to content

Commit

Permalink
[LLDB][MIPS] Fix TestRegisterVariables.py.
Browse files Browse the repository at this point in the history
Clang does not accept regparm attribute on these platforms.
Fortunately, the default calling convention passes arguments
in registers any way

Subscribers: jaydeep, bhushan, lldb-commits, slthakur
llvm-svn: 305378
  • Loading branch information
jainnk committed Jun 14, 2017
1 parent d4b3bbc commit 0c29ef1
Showing 1 changed file with 1 addition and 1 deletion.
@@ -1,6 +1,6 @@
#include <stdio.h>

#if defined(__arm__) || defined(__aarch64__)
#if defined(__arm__) || defined(__aarch64__) || defined (__mips__)
// Clang does not accept regparm attribute on these platforms.
// Fortunately, the default calling convention passes arguments in registers
// anyway.
Expand Down

0 comments on commit 0c29ef1

Please sign in to comment.