Skip to content

Why is the binary compiled differently each time? #6390

@Bach234

Description

@Bach234

When I compile with:
clang -fsycl -c test.cpp -o test-0.o
clang -fsycl -c test.cpp -o test-1.o
test-0.o and test-1.o always aren't same, they have random number in *.o files like this:
test-0.o: GLOBAL__sub_I_test_aef76b.cpp
test-1.o: GLOBAL__sub_I_test_2340a8.cpp
This feature doesn't exist in g++, I don't know why?
0
1

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions