[LLVMbugs] [Bug 12396] -ffreestanding affects name mangling in C++

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Oct 24 08:35:03 PDT 2013


http://llvm.org/bugs/show_bug.cgi?id=12396

David Majnemer <david.majnemer at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |WORKSFORME

--- Comment #3 from David Majnemer <david.majnemer at gmail.com> ---
I can't reproduce this behavior with the latest clang.


$ echo "__INTPTR_TYPE__" | ~/llvm/build/bin/clang++ -cc1 -x c++ -E -triple
x86_64-apple-macosx10.8.0
# 1 "<stdin>"
# 1 "<built-in>" 1
# 1 "<built-in>" 3
# 157 "<built-in>" 3
# 1 "<command line>" 1
# 1 "<built-in>" 2
# 1 "<stdin>" 2
long int

$ echo "__INTPTR_TYPE__" | ~/llvm/build/bin/clang++ -cc1 -x c++ -E -triple
x86_64-apple-macosx10.8.0 -ffreestanding
# 1 "<stdin>"
# 1 "<built-in>" 1
# 1 "<built-in>" 3
# 157 "<built-in>" 3
# 1 "<command line>" 1
# 1 "<built-in>" 2
# 1 "<stdin>" 2
long int

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20131024/3d7508bf/attachment.html>


More information about the llvm-bugs mailing list