Fix Issues with cmpxchg example

Duncan P. N. Exon Smith via llvm-commits llvm-commits at lists.llvm.org
Sat Feb 6 16:01:46 PST 2016


> On 2016-Feb-06, at 15:56, Daniel Robertson <danlrobertson89 at gmail.com> wrote:
> 
>> Can you give a bit more context, including what project you're
>> contributing to?  Also, you might want to look through the logs of
>> that project and CC one of the main contributors.
> 
> No problem, I probably should have done that to start with :-)
> 
> It is ment for the llvm project as the docs corrected are from
> `http://llvm.org/svn/llvm-project/llvm/trunk llvm`. Let me know if you
> need more information.
> 
> `git log --author=dexonsmith at apple.com --oneline | wc -l` yielded
> `1149`. So I Cc'd you :-)
> 
> Again, please let me know if I've done something wrong
> 
> Cheers,
> 
> Daniel

I asked because the patch doesn't seem to be for LLVM:
```
$ patch -p1 < /Users/dexonsmith/Library/Containers/com.apple.mail/Data/Library/Mail\ Downloads/5E2EACCF-C217-49F0-896A-815E9C89D830/0001-Add-signal-handler.patch 
can't find file to patch at input line 18
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|From 97cc3361824c5520b2a5695c2af0042bb7abb87e Mon Sep 17 00:00:00 2001
|From: Daniel Robertson <danlrobertson89 at gmail.com>
|Date: Wed, 23 Dec 2015 10:32:31 -0500
|Subject: [PATCH] Add signal handler
|
|Signed-off-by: Daniel Robertson <danlrobertson89 at gmail.com>
|---
| example.py     |  28 ++++++++-
| setup.py       |   8 ++-
| src/ext/util.c | 185 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
| 3 files changed, 217 insertions(+), 4 deletions(-)
| create mode 100644 src/ext/util.c
|
|diff --git a/example.py b/example.py
|index c763e29..4c85b7b 100644
|--- a/example.py
|+++ b/example.py
--------------------------
File to patch: 
```

What is the patch for?


More information about the llvm-commits mailing list