Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

clang: __builtin_longjmp not supported #5271

Closed
edwintorok opened this issue Sep 5, 2009 · 5 comments
Closed

clang: __builtin_longjmp not supported #5271

edwintorok opened this issue Sep 5, 2009 · 5 comments
Labels
bugzilla Issues migrated from bugzilla

Comments

@edwintorok
Copy link
Contributor

Bugzilla Link 4899
Resolution FIXED
Resolved on Oct 17, 2012 14:58
Version 2.6
OS Linux
Blocks llvm/llvm-bugzilla-archive#6916
CC @asl

Extended Description

valgrind 3.4.1 doesn't compile:

m_signals.c:1435:7: error: cannot compile this builtin function yet
__builtin_longjmp(tst->sched_jmpbuf, True);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

@edwintorok
Copy link
Contributor Author

m_scheduler/scheduler.c:824:4: error: cannot compile this builtin function yet
SCHEDSETJMP(tid, jumped, VG_(client_syscall)(tid));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
m_scheduler/scheduler.c:519:18: note: instantiated from:
(jumped) = __builtin_setjmp(_qq_tst->sched_jmpbuf);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

@edwintorok
Copy link
Contributor Author

This is still an issue for clang 2.7

@llvmbot
Copy link
Collaborator

llvmbot commented May 26, 2010

Enabling the code in CGBuiltin.cpp to handle these works on ARM/Darwin. No other targets lower the intrinsics that I know of, though.

@lattner
Copy link
Collaborator

lattner commented Oct 17, 2012

This is theoretically fixed in r165989. Please verify.

@edwintorok
Copy link
Contributor Author

mentioned in issue llvm/llvm-bugzilla-archive#6916

@llvmbot llvmbot transferred this issue from llvm/llvm-bugzilla-archive Dec 3, 2021
augusto2112 pushed a commit to augusto2112/llvm-project that referenced this issue Sep 14, 2022
…rry-pick-02

[ODRHash diagnostics] Cherry-picking another series of ODRHash commits.
MasuhiroYamada pushed a commit to RIKEN-RCCS/llvm-project that referenced this issue Mar 21, 2024
MasuhiroYamada pushed a commit to RIKEN-RCCS/llvm-project that referenced this issue Mar 21, 2024
MasuhiroYamada pushed a commit to RIKEN-RCCS/llvm-project that referenced this issue Mar 21, 2024
MasuhiroYamada pushed a commit to RIKEN-RCCS/llvm-project that referenced this issue Mar 21, 2024
MasuhiroYamada pushed a commit to RIKEN-RCCS/llvm-project that referenced this issue Mar 21, 2024
MasuhiroYamada pushed a commit to RIKEN-RCCS/llvm-project that referenced this issue Mar 21, 2024
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugzilla Issues migrated from bugzilla
Projects
None yet
Development

No branches or pull requests

3 participants