Displaying 7 results from an estimated 7 matches for "itaniumcxxabi".
2018 Dec 10
2
using emulated-tls on Darwin 8, 9, 10
...to sort out would be how to tweak the following patch so that __cxa_thread_atexit would be called based on the -femulated-tls flag rather than based on the MacOSXVersion. That way emulated-tls could be used/tested on any OS version. -- Ken
==========================
--- a/tools/clang/lib/CodeGen/ItaniumCXXABI.cpp.orig 2018-10-02 18:31:17.000000000 -0700
+++ b/tools/clang/lib/CodeGen/ItaniumCXXABI.cpp 2018-10-02 18:32:35.000000000 -0700
@@ -2255,7 +2255,7 @@
const char *Name = "__cxa_atexit";
if (TLS) {
const llvm::Triple &T = CGF.getTarget().getTriple();
- Name = T.isOSDarwin() ? &qu...
2018 Dec 08
2
using emulated-tls on Darwin 8, 9, 10
On 2018-12-08 19:10, Ken Cunningham via llvm-dev wrote:
> So putting it into libc++abi.dylib might indeed be the only workable method, assuming each executable would get it's own copy in memory and they wouldn't all collide together.
Can ibc++abi link with libclang_rt to resolve the symbol?
--
/Jacob Carlborg
2018 Dec 07
2
using emulated-tls on Darwin 8, 9, 10
...TLS as default.
bool hasDefaultEmulatedTLS() const {
- return isAndroid() || isOSOpenBSD() || isWindowsCygwinEnvironment();
+ return isAndroid() || isOSOpenBSD() || isWindowsCygwinEnvironment() || isMacOSXVersionLT(10, 7);
}
/// @}
==========================
--- a/tools/clang/lib/CodeGen/ItaniumCXXABI.cpp.orig 2018-10-02 18:31:17.000000000 -0700
+++ b/tools/clang/lib/CodeGen/ItaniumCXXABI.cpp 2018-10-02 18:32:35.000000000 -0700
@@ -2255,7 +2255,7 @@
const char *Name = "__cxa_atexit";
if (TLS) {
const llvm::Triple &T = CGF.getTarget().getTriple();
- Name = T.isOSDarwin() ?...
2013 Feb 08
2
[LLVMdev] assert when mixing static and non-static members with an external AST source
...CodeGen/CGDeclCXX.cpp:46
#34 0x00007ffff4b758c7 in clang::CodeGen::CodeGenFunction::EmitCXXGlobalVarDeclInit (this=0x7fffffff9198, D=..., DeclPtr=0xd83068, PerformInit=true)
at /home/athirumurthi/git/lldb/tools/clang/lib/CodeGen/CGDeclCXX.cpp:134
#35 0x00007ffff4cd726f in (anonymous namespace)::ItaniumCXXABI::EmitGuardedInit (this=0xd64510, CGF=..., D=..., var=0xd83068, shouldPerformInit=true)
at /home/athirumurthi/git/lldb/tools/clang/lib/CodeGen/ItaniumCXXABI.cpp:1117
#36 0x00007ffff4b766ce in clang::CodeGen::CodeGenFunction::EmitCXXGuardedInit (this=0x7fffffff9198, D=..., DeclPtr=0xd83068, Perfo...
2013 Feb 15
0
[LLVMdev] assert when mixing static and non-static members with an external AST source
...CodeGen/CGDeclCXX.cpp:46
#34 0x00007ffff4b758c7 in clang::CodeGen::CodeGenFunction::EmitCXXGlobalVarDeclInit (this=0x7fffffff9198, D=..., DeclPtr=0xd83068, PerformInit=true)
at /home/athirumurthi/git/lldb/tools/clang/lib/CodeGen/CGDeclCXX.cpp:134
#35 0x00007ffff4cd726f in (anonymous namespace)::ItaniumCXXABI::EmitGuardedInit (this=0xd64510, CGF=..., D=..., var=0xd83068, shouldPerformInit=true)
at /home/athirumurthi/git/lldb/tools/clang/lib/CodeGen/ItaniumCXXABI.cpp:1117
#36 0x00007ffff4b766ce in clang::CodeGen::CodeGenFunction::EmitCXXGuardedInit (this=0x7fffffff9198, D=..., DeclPtr=0xd83068, Perfo...
2015 Jan 14
3
[LLVMdev] Crash on invalid during LLVMContext destruction MDNode::dropAllReferences
Hi Duncan,
I came across something like the following recently which I guess might be
related to your recent work. Any ideas?
$ clang++-tot -cc1 crash_on_invalid.cpp -g -emit-obj -fexceptions
-fcxx-exceptions
crash_on_invalid.cpp:13:1: error: C++ requires a type specifier for all
declarations
x;
^
1 error generated.
*** Error in `clang++-tot': corrupted double-linked list:
0x000000000754f340
2015 Jan 14
2
[LLVMdev] Crash on invalid during LLVMContext destruction MDNode::dropAllReferences
...ging/bin/clang+0x102777b26)
> #9 0x10d494e58 in
> clang::CodeGen::CodeGenModule::codegenCXXStructor(clang::CXXMethodDecl
> const*, clang::CodeGen::StructorType)
> (/Users/dexonsmith/data/llvm.asan/staging/bin/clang+0x102573e58)
> #10 0x10d75f36d in (anonymous
> namespace)::ItaniumCXXABI::emitCXXStructor(clang::CXXMethodDecl const*,
> clang::CodeGen::StructorType)
> (/Users/dexonsmith/data/llvm.asan/staging/bin/clang+0x10283e36d)
> #11 0x10d6ae224 in
> clang::CodeGen::CodeGenModule::EmitGlobalDefinition(clang::GlobalDecl,
> llvm::GlobalValue*)
> (/Users/dexons...