Skip to content

Commit ab01281

Browse files
fixup! [XRay][AArch64] Support -fxray-shared
1 parent 63760cf commit ab01281

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

clang/lib/Driver/XRayArgs.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,10 +67,10 @@ XRayArgs::XRayArgs(const ToolChain &TC, const ArgList &Args) {
6767
false)) {
6868
XRayShared = true;
6969

70-
// DSO instrumentation is currently limited to x86_64 and aarch64
70+
// Certain targets support DSO instrumentation
7171
switch (Triple.getArch()) {
72-
case llvm::Triple::x86_64:
7372
case llvm::Triple::aarch64:
73+
case llvm::Triple::x86_64:
7474
break;
7575
default:
7676
D.Diag(diag::err_drv_unsupported_opt_for_target)

0 commit comments

Comments
 (0)