-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't qualify magic linker symbols with C++ namespace.
We need them at their original values because that's what the runtime lbirary is hard-coded to expect. Closes #1823. (cherry picked from commit 28c09bf)
- Loading branch information
Showing
2 changed files
with
17 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# @TEST-EXEC: hiltic -x foo %INPUT | ||
# @TEST-EXEC: grep -q _hlt_hlto_library_version foo___linker__.cc | ||
# @TEST-EXEC: grep -q _hlt_hlto_bind_to_version foo___linker__.cc | ||
# | ||
# A hand-built HLTO file has all symbols needed to load correctly. | ||
# @TEST-EXEC: $(spicy-config --cxx --cxxflags-hlto --ldflags-hlto --debug) -o foo.hlto foo*cc | ||
# @TEST-EXEC: hiltic -j foo.hlto | ||
# | ||
# @TEST-DOC: Ensure that our magic linker symbols are created with their hardcoded names, and not using the `cxx_namespace_intern` prefix; regression test for #1823. | ||
|
||
module Foo {} |