summaryrefslogtreecommitdiffstats
path: root/clang/lib/Basic/SanitizerBlacklist.cpp
diff options
context:
space:
mode:
authorMarina Yatsina <marina.yatsina@intel.com>2016-12-26 12:23:42 +0000
committerMarina Yatsina <marina.yatsina@intel.com>2016-12-26 12:23:42 +0000
commitc42fd03bf85486cc60a8b5171f1f21e37855bbf1 (patch)
tree8ec9372415033e0b750cd249be1d7c9875dcb9e7 /clang/lib/Basic/SanitizerBlacklist.cpp
parent600941351e20ec9cca1617f6b28887fb7dd25252 (diff)
downloadbcm5719-llvm-c42fd03bf85486cc60a8b5171f1f21e37855bbf1.tar.gz
bcm5719-llvm-c42fd03bf85486cc60a8b5171f1f21e37855bbf1.zip
[inline-asm]No error for conflict between inputs\outputs and clobber list
According to extended asm syntax, a case where the clobber list includes a variable from the inputs or outputs should be an error - conflict. for example: const long double a = 0.0; int main() { char b; double t1 = a; __asm__ ("fucompp": "=a" (b) : "u" (t1), "t" (t1) : "cc", "st", "st(1)"); return 0; } This should conflict with the output - t1 which is st, and st which is st aswell. The patch fixes it. Commit on behald of Ziv Izhar. Differential Revision: https://reviews.llvm.org/D15075 llvm-svn: 290539
Diffstat (limited to 'clang/lib/Basic/SanitizerBlacklist.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud