diff options
author | Owen Anderson <resistor@mac.com> | 2010-05-01 08:34:28 +0000 |
---|---|---|
committer | Owen Anderson <resistor@mac.com> | 2010-05-01 08:34:28 +0000 |
commit | 550986ea902ab5b433ad4dc6440befc1c2829bf8 (patch) | |
tree | 9bdc32fa7eee84317f2e9e6e9a4be601d074960f /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 532112b98a71e7acc032015addc026c7083fe0ac (diff) | |
download | llvm-550986ea902ab5b433ad4dc6440befc1c2829bf8.zip llvm-550986ea902ab5b433ad4dc6440befc1c2829bf8.tar.gz llvm-550986ea902ab5b433ad4dc6440befc1c2829bf8.tar.bz2 |
Disable the call-deletion transformation introduced in r86975. Without
halting analysis, it is illegal to delete a call to a read-only function.
The correct solution is almost certainly to add a "must halt" attribute and
only allow deletions in its presence.
XFAIL the relevant testcase for now.
llvm-svn: 102831
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions