[LLVMdev] Question about volatile variable in X86 backend
Tim Northover
t.p.northover at gmail.com
Thu Mar 27 09:02:43 PDT 2014
Hi Haishan,
> Then I execute this object. However it fail with abort.
> llvm doesn't support volatile variable?
It looks like that test is actually trying to find out whether GCC
knows any special semantics for __fprintf_chk rather than whether it
can handle volatiles.
Clang doesn't do anything in particular with that function so it
"fails". It's compiling the file correctly as far as I can see.
Cheers.
Tim.
More information about the llvm-dev
mailing list